jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1364098 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/WSDLHelper.java
Date Sat, 21 Jul 2012 14:00:23 GMT
Author: pmouawad
Date: Sat Jul 21 14:00:22 2012
New Revision: 1364098

URL: http://svn.apache.org/viewvc?rev=1364098&view=rev
Log:
Fixed findbugs issue

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/WSDLHelper.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/WSDLHelper.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/WSDLHelper.java?rev=1364098&r1=1364097&r2=1364098&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/WSDLHelper.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/WSDLHelper.java Sat
Jul 21 14:00:22 2012
@@ -369,13 +369,14 @@ public class WSDLHelper {
                 // we add it to the array
                 Element child = (Element) opnodes.item(idz);
 
-                // TODO - the following code looks wrong - it does the same in both cases
-                NodeList soapnode = child.getElementsByTagName(soapOp);
-                if (soapnode.getLength() > 0) {
-                    ops.add(child);
-                } else {
-                    ops.add(child);
-                }
+                // TODO - the following commented code looks wrong - it does the same in
both cases
+//                NodeList soapnode = child.getElementsByTagName(soapOp);
+//                if (soapnode.getLength() > 0) {
+//                    ops.add(child);
+//                } else {
+//                    ops.add(child);
+//                }
+                ops.add(child);
             }
         }
         return ops.toArray();



Mime
View raw message