Author: jleroux
Date: Tue Mar 21 11:01:28 2017
New Revision: 1787937
URL:
http://svn.apache.org/viewvc?rev=1787937&view=revLog:
No functional change, just a TODO for later
Modified:
ofbiz/ofbiz-framework/trunk/applications/content/src/main/java/org/apache/ofbiz/content/content/ContentEvents.java
Modified: ofbiz/ofbiz-framework/trunk/applications/content/src/main/java/org/apache/ofbiz/content/content/ContentEvents.java
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/src/main/java/org/apache/ofbiz/content/content/ContentEvents.java?rev=1787937&r1=1787936&r2=1787937&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/content/src/main/java/org/apache/ofbiz/content/content/ContentEvents.java (original)
+++ ofbiz/ofbiz-framework/trunk/applications/content/src/main/java/org/apache/ofbiz/content/content/ContentEvents.java Tue Mar 21 11:01:28 2017
@@ -30,12 +30,10 @@ import org.apache.ofbiz.base.util.UtilPr
import org.apache.ofbiz.entity.Delegator;
import org.apache.ofbiz.entity.GenericEntityException;
import org.apache.ofbiz.entity.GenericValue;
-import org.apache.ofbiz.entity.transaction.TransactionUtil;
import org.apache.ofbiz.entity.transaction.GenericTransactionException;
-
+import org.apache.ofbiz.entity.transaction.TransactionUtil;
import org.apache.ofbiz.entity.util.EntityListIterator;
import org.apache.ofbiz.entity.util.EntityQuery;
-import org.apache.ofbiz.content.content.ContentKeywordIndex;
import org.apache.ofbiz.security.Security;
@@ -75,6 +73,7 @@ public class ContentEvents {
int numConts = 0;
int errConts = 0;
+ // TODO refactor I don't like much how this is written but it's not simple to refactor
boolean beganTx = false;
try {
// begin the transaction