svn commit: r1619101 - in /ofbiz/branches/release13.07: ./ framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1619101 - in /ofbiz/branches/release13.07: ./ framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java

ChrisG-2
Author: chrisg
Date: Wed Aug 20 13:45:33 2014
New Revision: 1619101

URL: http://svn.apache.org/r1619101
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/release13.07/   (props changed)
    ofbiz/branches/release13.07/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java

Propchange: ofbiz/branches/release13.07/
------------------------------------------------------------------------------
  Merged /ofbiz/trunk:r1619098

Modified: ofbiz/branches/release13.07/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java?rev=1619101&r1=1619100&r2=1619101&view=diff
==============================================================================
--- ofbiz/branches/release13.07/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java (original)
+++ ofbiz/branches/release13.07/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java Wed Aug 20 13:45:33 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());