You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/11/23 23:02:49 UTC

svn commit: r883517 - /ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java

Author: jleroux
Date: Mon Nov 23 22:02:49 2009
New Revision: 883517

URL: http://svn.apache.org/viewvc?rev=883517&view=rev
Log:
Fix r883508

Modified:
    ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java

Modified: ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java?rev=883517&r1=883516&r2=883517&view=diff
==============================================================================
--- ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java (original)
+++ ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java Mon Nov 23 22:02:49 2009
@@ -151,7 +151,7 @@
             } else if (nm.equals("param-out")) {
                 name = elem.getAttributeValue("result-name");
                 fieldName = elem.getAttributeValue("field-name");
-                if (UtilValidate.isEmpty(fieldName)) {
+                if (fieldName == null || fieldName.length() == 0) {
                     fieldName = name;
                 }
                 this.outMap.put(name, fieldName);