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:28:06 UTC

svn commit: r1619098 - /ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java

Author: chrisg
Date: Wed Aug 20 13:28:06 2014
New Revision: 1619098

URL: http://svn.apache.org/r1619098
Log:
OFBIZ-5514 correct calculation of seconds (instead of minutes) in EntitySyncServices.cleanSyncRemoveInfo(). Thanks to Roberto Benítez Monje for reporting

Modified:
    ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java

Modified: ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java?rev=1619098&r1=1619097&r2=1619098&view=diff
==============================================================================
--- ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java (original)
+++ ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java Wed Aug 20 13:28:06 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());