Author: hiranya
Date: Sun Jul 14 05:34:30 2013
New Revision: 1502939

URL: http://svn.apache.org/r1502939
Log:
Applying the rest of the patch for SYNAPSE-935 (thanks Dushan for the 
contributions)

Modified:
    
synapse/trunk/java/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/util/RelayUtils.java

Modified: 
synapse/trunk/java/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/util/RelayUtils.java
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/util/RelayUtils.java?rev=1502939&r1=1502938&r2=1502939&view=diff
==============================================================================
--- 
synapse/trunk/java/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/util/RelayUtils.java
 (original)
+++ 
synapse/trunk/java/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/util/RelayUtils.java
 Sun Jul 14 05:34:30 2013
@@ -66,7 +66,7 @@ public class RelayUtils {
            if (forcePTBuild == null){
              forcePTBuild = true;
            }
-            //this to keep track ignore the builder operation even though 
content level is enable.
+           //this to keep track ignore the builder operation even though 
content level is enable.
         }
     }
 
@@ -223,7 +223,7 @@ public class RelayUtils {
             }
         } else if (AddressingHelper.isReplyRedirected(messageContext) &&
                 AddressingHelper.isFaultRedirected(messageContext)) {
-            if (mepString.equals(WSDL2Constants.MEP_URI_IN_OUT)) {
+            if (WSDL2Constants.MEP_URI_IN_OUT.equals(mepString)) {
                 // OR, if 2 way operation but the response is intended to not 
use the
                 // response channel of a 2-way transport  then we don't need 
to keep the
                 // transport waiting.
@@ -260,6 +260,6 @@ public class RelayUtils {
     }
 
     private static boolean isOneWay(String mepString) {
-        return mepString.equals(WSDL2Constants.MEP_URI_IN_ONLY);
+        return WSDL2Constants.MEP_URI_IN_ONLY.equals(mepString);
     }
 }


Reply via email to