activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1500753 - /activemq/trunk/activemq-client/src/main/java/org/apache/activemq/broker/scheduler/CronParser.java
Date Mon, 08 Jul 2013 14:21:43 GMT
Author: tabish
Date: Mon Jul  8 14:21:43 2013
New Revision: 1500753

URL: http://svn.apache.org/r1500753
Log:
fix for: https://issues.apache.org/jira/browse/AMQ-4591

Modified:
    activemq/trunk/activemq-client/src/main/java/org/apache/activemq/broker/scheduler/CronParser.java

Modified: activemq/trunk/activemq-client/src/main/java/org/apache/activemq/broker/scheduler/CronParser.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-client/src/main/java/org/apache/activemq/broker/scheduler/CronParser.java?rev=1500753&r1=1500752&r2=1500753&view=diff
==============================================================================
--- activemq/trunk/activemq-client/src/main/java/org/apache/activemq/broker/scheduler/CronParser.java
(original)
+++ activemq/trunk/activemq-client/src/main/java/org/apache/activemq/broker/scheduler/CronParser.java
Mon Jul  8 14:21:43 2013
@@ -21,6 +21,7 @@ import java.util.Calendar;
 import java.util.Collections;
 import java.util.List;
 import java.util.StringTokenizer;
+
 import javax.jms.MessageFormatException;
 
 public class CronParser {
@@ -44,7 +45,7 @@ public class CronParser {
         // starting the next event at the top of the minute.
         if (cronEntry.equals("* * * * *")) {
             result = currentTime + 60 * 1000;
-            result = result / 1000 * 1000;
+            result = result / 60000 * 60000;
             return result;
         }
 



Mime
View raw message