You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2012/05/05 19:06:36 UTC

svn commit: r1334452 - /ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/SetServiceFields.java

Author: adrianc
Date: Sat May  5 17:06:36 2012
New Revision: 1334452

URL: http://svn.apache.org/viewvc?rev=1334452&view=rev
Log:
Small fixup for my previous commit.

Modified:
    ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/SetServiceFields.java

Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/SetServiceFields.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/SetServiceFields.java?rev=1334452&r1=1334451&r2=1334452&view=diff
==============================================================================
--- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/SetServiceFields.java (original)
+++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/SetServiceFields.java Sat May  5 17:06:36 2012
@@ -133,7 +133,7 @@ public final class SetServiceFields exte
         if (!this.mapFma.isEmpty()) {
             sb.append("map=\"").append(this.mapFma).append("\" ");
         }
-        if (this.toMapFma != null) {
+        if (!this.toMapFma.isEmpty()) {
             sb.append("to-map=\"").append(this.toMapFma).append("\" ");
         }
         sb.append("/>");