Commits

chri...@81dbac14-341a-0410-aa85-cbcd92e6f43e  committed a9b3253

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

  • Participants
  • Parent commits 0288c24

Comments (0)

Files changed (1)

File 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();
     }
 
     /**