Author: saminda
Date: Mon Jan  7 08:10:38 2008
New Revision: 11968

Log:

Fixed a if statement


Modified:
   
trunk/commons/wsdl-converter/src/main/java/org/wso2/tryit/ProxyMessageReceiver.java

Modified: 
trunk/commons/wsdl-converter/src/main/java/org/wso2/tryit/ProxyMessageReceiver.java
==============================================================================
--- 
trunk/commons/wsdl-converter/src/main/java/org/wso2/tryit/ProxyMessageReceiver.java
 (original)
+++ 
trunk/commons/wsdl-converter/src/main/java/org/wso2/tryit/ProxyMessageReceiver.java
 Mon Jan  7 08:10:38 2008
@@ -67,10 +67,7 @@
                 String wsoapVersion =
                         (String) 
binding.getProperty(WSDL2Constants.ATTR_WSOAP_VERSION);
                 String inSOAPNamespace = env.getNamespace().getNamespaceURI();
-                if (wsoapVersion == null || wsoapVersion.length() == 0) {
-                    continue;
-                }
-                if (!wsoapVersion.equals(inSOAPNamespace)) {
+                if (!inSOAPNamespace.equals(wsoapVersion)) {
                     continue;
                 }
                 break;

_______________________________________________
Commons-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/commons-dev

Reply via email to