User: schaefera
Date: 02/02/05 21:25:13
Modified: src/main/org/jboss/util Scheduler.java
Log:
Fixed a problem with Initial Start Date in the future.
Revision Changes Path
1.18 +2 -0 jboss/src/main/org/jboss/util/Scheduler.java
Index: Scheduler.java
===================================================================
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/util/Scheduler.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- Scheduler.java 2002/01/19 18:43:30 1.17
+++ Scheduler.java 2002/02/06 05:25:13 1.18
@@ -317,6 +317,8 @@
}
}
lStartDate = new Date( mStartDate.getTime() + ( lSkipRepeats *
mActualSchedulePeriod ) );
+ } else {
+ lStartDate = mStartDate;
}
}
log.debug( "Schedule initial call to: " + lStartDate + ", remaining
repetitions: " + mRemainingRepetitions );
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development