jvanzyl     01/11/15 15:16:23

  Modified:    src/java/org/apache/turbine/services/schedule JobEntry.java
  Log:
  - hmm, not sure what happended here but scott you'll want to look
    at this again, the patch didn't seem quite right.
  
  Revision  Changes    Path
  1.5       +1 -21     
jakarta-turbine-2/src/java/org/apache/turbine/services/schedule/JobEntry.java
  
  Index: JobEntry.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/services/schedule/JobEntry.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JobEntry.java     2001/11/15 23:11:55     1.4
  +++ JobEntry.java     2001/11/15 23:16:23     1.5
  @@ -66,7 +66,7 @@
    * Unix scheduler cron.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Dave Bryson</a>
  - * @version $Id: JobEntry.java,v 1.4 2001/11/15 23:11:55 jvanzyl Exp $
  + * @version $Id: JobEntry.java,v 1.5 2001/11/15 23:16:23 jvanzyl Exp $
    */
   public class JobEntry extends BaseObject
       implements Comparable
  @@ -548,26 +548,6 @@
   
               return DAY_OF_MONTH;
           }
  -    }
  -
  -    /**
  -     * Used for ordering Jobentries
  -     * Note: this comparator imposes orderings that are inconsistent with
  -     * equals.
  -     *
  -     * @param je The first <code>JobEntry</code> object.
  -     * @return An <code>int</code> indicating the result of the comparison.
  -     */
  -    public int compareTo(Object je)
  -    {
  -        long obj1Time = this.getNextRuntime();
  -        long obj2Time = ((JobEntry)je).getNextRuntime();
  -        if (obj1Time > obj2Time)
  -            return 1;
  -        else if (obj1Time < obj2Time)
  -            return -1;
  -        else
  -            return 0;
       }
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to