Author: doogie
Date: Wed Oct 17 19:13:02 2007
New Revision: 585784
URL:
http://svn.apache.org/viewvc?rev=585784&view=revLog:
Use System.currentTimeMillis() instead of new Date.getTime().
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/job/GenericServiceJob.java
Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/job/GenericServiceJob.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/job/GenericServiceJob.java?rev=585784&r1=585783&r2=585784&view=diff==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/job/GenericServiceJob.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/job/GenericServiceJob.java Wed Oct 17 19:13:02 2007
@@ -18,7 +18,6 @@
*******************************************************************************/
package org.ofbiz.service.job;
-import java.util.Date;
import java.util.Map;
import org.ofbiz.base.util.Debug;
@@ -46,7 +45,7 @@
this.service = service;
this.context = context;
this.requester = req;
- runtime = new Date().getTime();
+ runtime = System.currentTimeMillis();
}
protected GenericServiceJob(String jobId, String jobName) {