svn commit: r1779677 - in /ofbiz/trunk/framework/entityext/src/main/java/org/apache/ofbiz/entityext/eca: EntityEcaCondition.java EntityEcaRule.java

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

svn commit: r1779677 - in /ofbiz/trunk/framework/entityext/src/main/java/org/apache/ofbiz/entityext/eca: EntityEcaCondition.java EntityEcaRule.java

jleroux@apache.org
Author: jleroux
Date: Fri Jan 20 21:04:07 2017
New Revision: 1779677

URL: http://svn.apache.org/viewvc?rev=1779677&view=rev
Log:
No functional changes, trivial formatting issues

Modified:
    ofbiz/trunk/framework/entityext/src/main/java/org/apache/ofbiz/entityext/eca/EntityEcaCondition.java
    ofbiz/trunk/framework/entityext/src/main/java/org/apache/ofbiz/entityext/eca/EntityEcaRule.java

Modified: ofbiz/trunk/framework/entityext/src/main/java/org/apache/ofbiz/entityext/eca/EntityEcaCondition.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entityext/src/main/java/org/apache/ofbiz/entityext/eca/EntityEcaCondition.java?rev=1779677&r1=1779676&r2=1779677&view=diff
==============================================================================
--- ofbiz/trunk/framework/entityext/src/main/java/org/apache/ofbiz/entityext/eca/EntityEcaCondition.java (original)
+++ ofbiz/trunk/framework/entityext/src/main/java/org/apache/ofbiz/entityext/eca/EntityEcaCondition.java Fri Jan 20 21:04:07 2017
@@ -124,7 +124,7 @@ public final class EntityEcaCondition im
         if( UtilValidate.isNotEmpty(lhsValueName) ) {
             fieldNameList.add(lhsValueName);
         }
-        if( !constant && UtilValidate.isNotEmpty(rhsValueName)) {
+        if(!constant && UtilValidate.isNotEmpty(rhsValueName)) {
             fieldNameList.add(rhsValueName);
         }
         return fieldNameList;

Modified: ofbiz/trunk/framework/entityext/src/main/java/org/apache/ofbiz/entityext/eca/EntityEcaRule.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entityext/src/main/java/org/apache/ofbiz/entityext/eca/EntityEcaRule.java?rev=1779677&r1=1779676&r2=1779677&view=diff
==============================================================================
--- ofbiz/trunk/framework/entityext/src/main/java/org/apache/ofbiz/entityext/eca/EntityEcaRule.java (original)
+++ ofbiz/trunk/framework/entityext/src/main/java/org/apache/ofbiz/entityext/eca/EntityEcaRule.java Fri Jan 20 21:04:07 2017
@@ -132,7 +132,7 @@ public final class EntityEcaRule impleme
             }
         }
 
-        if( !fieldsToLoad.isEmpty()) {
+        if(!fieldsToLoad.isEmpty()) {
             Delegator delegator = dctx.getDelegator();
             GenericValue oldValue =  delegator.findOne(entityName, value.getPrimaryKey(), false);
             if(UtilValidate.isNotEmpty(oldValue)) {