axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r804774 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/SOAPMessageFormatter.java
Date Sun, 16 Aug 2009 20:54:29 GMT
Author: veithen
Date: Sun Aug 16 20:54:29 2009
New Revision: 804774

URL: http://svn.apache.org/viewvc?rev=804774&view=rev
Log:
AXIS2-4302: Use short circuit logical and operator (&&) where appropriate.

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

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/SOAPMessageFormatter.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/SOAPMessageFormatter.java?rev=804774&r1=804773&r2=804774&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/SOAPMessageFormatter.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/SOAPMessageFormatter.java
Sun Aug 16 20:54:29 2009
@@ -64,7 +64,7 @@
         }	        
 
         try {
-            if (!(format.isOptimized()) & format.isDoingSWA()) {
+            if (!(format.isOptimized()) && format.isDoingSWA()) {
                 StringWriter bufferedSOAPBody = new StringWriter();
                 if (preserve) {
                     element.serialize(bufferedSOAPBody, format);



Mime
View raw message