You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2008/03/23 05:19:39 UTC

svn commit: r640149 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java

Author: dims
Date: Sat Mar 22 21:19:36 2008
New Revision: 640149

URL: http://svn.apache.org/viewvc?rev=640149&view=rev
Log:
Replace bitwise OR with the logical one.

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java?rev=640149&r1=640148&r2=640149&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java Sat Mar 22 21:19:36 2008
@@ -174,7 +174,7 @@
                     if (parameterValue != null && JavaUtils.isTrueExplicitly(parameterValue)) {
                         //Check whether user has already overridden this.
                         Object propertyValue = msgContext.getProperty(Constants.Configuration.DISABLE_SOAP_ACTION);
-                        if (propertyValue == null | !JavaUtils.isFalseExplicitly(propertyValue)) {
+                        if (propertyValue == null || !JavaUtils.isFalseExplicitly(propertyValue)) {
                             msgContext.setProperty(Constants.Configuration.DISABLE_SOAP_ACTION,
                                     Boolean.TRUE);
                         }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org