avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject cvs commit: avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/scheduler CronTimeTrigger.java
Date Tue, 25 Feb 2003 10:16:43 GMT
giacomo     2003/02/25 02:16:43

  Modified:    src/java/org/apache/avalon/cornerstone/services/scheduler
                        CronTimeTrigger.java
  Log:
  fixing End-Of-Year roll over bug reported by Thomas Kiesgen on Jan. 2nd 2003 (hope I got
it right)
  
  Revision  Changes    Path
  1.9       +1 -1      avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/scheduler/CronTimeTrigger.java
  
  Index: CronTimeTrigger.java
  ===================================================================
  RCS file: /home/cvs/avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/scheduler/CronTimeTrigger.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -d -b -u -r1.8 -r1.9
  --- CronTimeTrigger.java	12 Sep 2002 10:24:32 -0000	1.8
  +++ CronTimeTrigger.java	25 Feb 2003 10:16:43 -0000	1.9
  @@ -148,7 +148,7 @@
           )
           {
               //for jobs scheduled everyday and job is done this day
  -            next.roll( Calendar.DAY_OF_YEAR, true );
  +            next.add( Calendar.DAY_OF_YEAR, 1 );
           }
   
           int realDayOfMonth = m_dayOfMonth;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message