You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ch...@apache.org on 2014/08/20 15:59:50 UTC
svn commit: r1619103 - in /ofbiz/branches/release12.04: ./
framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java
Author: chrisg
Date: Wed Aug 20 13:59:50 2014
New Revision: 1619103
URL: http://svn.apache.org/r1619103
Log:
Applied fix from trunk for revision: 1619098
===
OFBIZ-5514 correct calculation of seconds (instead of minutes) in EntitySyncServices.cleanSyncRemoveInfo(). Thanks to Roberto BenÃtez Monje for reporting
Modified:
ofbiz/branches/release12.04/ (props changed)
ofbiz/branches/release12.04/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java
Propchange: ofbiz/branches/release12.04/
------------------------------------------------------------------------------
Merged /ofbiz/trunk:r1619098
Modified: ofbiz/branches/release12.04/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release12.04/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java?rev=1619103&r1=1619102&r2=1619103&view=diff
==============================================================================
--- ofbiz/branches/release12.04/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java (original)
+++ ofbiz/branches/release12.04/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java Wed Aug 20 13:59:50 2014
@@ -609,7 +609,7 @@ public class EntitySyncServices {
}
- int keepSeconds = (int) Math.floor(keepRemoveInfoHours * 60);
+ int keepSeconds = (int) Math.floor(keepRemoveInfoHours * 3600);
Calendar nowCal = Calendar.getInstance();
nowCal.setTimeInMillis(System.currentTimeMillis());