Author: adrianc
Date: Tue Aug 26 12:34:06 2008
New Revision: 689179
URL:
http://svn.apache.org/viewvc?rev=689179&view=revLog:
PersistedServiceJob.java improved messages - no functional change.
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/job/PersistedServiceJob.java
Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/job/PersistedServiceJob.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/job/PersistedServiceJob.java?rev=689179&r1=689178&r2=689179&view=diff==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/job/PersistedServiceJob.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/job/PersistedServiceJob.java Tue Aug 26 12:34:06 2008
@@ -126,7 +126,7 @@
String instanceId = UtilProperties.getPropertyValue("general.properties", "unique.instanceId", "ofbiz0");
if (!instanceId.equals(job.getString("runByInstanceId"))) {
- throw new InvalidJobException("Job has been accpeted by a different instance!");
+ throw new InvalidJobException("Job has been accepted by a different instance!");
}
try {
@@ -138,7 +138,7 @@
} catch (GenericEntityException e) {
throw new RuntimeException(e.getMessage());
}
- if (Debug.infoOn()) Debug.logInfo(this.toString() + "[" + getJobId() + "] -- Next runtime: " + nextRecurrence, module);
+ if (Debug.infoOn()) Debug.logInfo(this.toString() + "[" + getJobId() + "] -- Next runtime: " + new java.sql.Timestamp(nextRecurrence), module);
}
private void createRecurrence(GenericValue job, long next) throws GenericEntityException {