svn commit: r1673913 - /ofbiz/branches/release14.12/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java

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

svn commit: r1673913 - /ofbiz/branches/release14.12/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java

jleroux@apache.org
Author: jleroux
Date: Wed Apr 15 18:15:19 2015
New Revision: 1673913

URL: http://svn.apache.org/r1673913
Log:
Fixes a typo after a C/P

Modified:
    ofbiz/branches/release14.12/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java

Modified: ofbiz/branches/release14.12/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java?rev=1673913&r1=1673912&r2=1673913&view=diff
==============================================================================
--- ofbiz/branches/release14.12/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java (original)
+++ ofbiz/branches/release14.12/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java Wed Apr 15 18:15:19 2015
@@ -155,7 +155,7 @@ public final class SetOperation extends
             newValue = this.defaultFse.expand(methodContext.getEnvMap());
             isConstant = true;
         }
-        if (!setIfNull && newValue == null && !"NewMap".equals(this.type) && "NewList".equals(this.type)) {
+        if (!setIfNull && newValue == null && !"NewMap".equals(this.type) && !"NewList".equals(this.type)) {
             if (Debug.verboseOn())
                 Debug.logVerbose("Field value not found (null) with name [" + fromFma + "] and value [" + valueFse + "], and there was not default value, not setting field", module);
             return true;