You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by st...@apache.org on 2003/01/04 20:40:43 UTC
cvs commit: jakarta-turbine-fulcrum/src/java/org/apache/fulcrum/schedule JobEntry.java
stephenh 2003/01/04 11:40:43
Modified: src/java/org/apache/fulcrum/schedule JobEntry.java
Log:
With Torque 3.0, NumberKey is no longer returned by the generated class, so use
the int directly.
Revision Changes Path
1.2 +2 -4 jakarta-turbine-fulcrum/src/java/org/apache/fulcrum/schedule/JobEntry.java
Index: JobEntry.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-fulcrum/src/java/org/apache/fulcrum/schedule/JobEntry.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- JobEntry.java 30 May 2002 02:27:27 -0000 1.1
+++ JobEntry.java 4 Jan 2003 19:40:43 -0000 1.2
@@ -155,9 +155,7 @@
int result = -1;
if (je instanceof JobEntry)
{
- result = getJobId().getBigDecimal()
- .compareTo(
- ((JobEntry)je).getJobId().getBigDecimal());
+ result = getJobId() - ((JobEntry)je).getJobId();
}
return result;
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>