Commits

Anonymous committed a9b3253

Calendar.getTimeInMillis() is protected in JDK 1.3, replaced with Calendar.getTime().getTime();

Comments (0)

Files changed (1)

src/core/java/com/opensymphony/oscache/util/FastCronParser.java

         cal.set(Calendar.SECOND, 0);
         cal.set(Calendar.MILLISECOND, 0);
 
-        return cal.getTimeInMillis();
+        return cal.getTime().getTime();
     }
 
     /**