cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1543886 - /cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
Date Wed, 20 Nov 2013 17:21:57 GMT
Author: ay
Date: Wed Nov 20 17:21:56 2013
New Revision: 1543886

URL: http://svn.apache.org/r1543886
Log:
simplify the boolean exp for AbstractHTTPDestniation.hasNotResponseContent

Modified:
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java

Modified: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java?rev=1543886&r1=1543885&r2=1543886&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
(original)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
Wed Nov 20 17:21:56 2013
@@ -612,7 +612,7 @@ public abstract class AbstractHTTPDestin
         // old behavior not suppressing any responses  => ow && !pr
         // suppress empty responses for oneway calls   => ow && (!pr || epr)
         // suppress additionally empty responses for decoupled twoway calls =>
-        return (ow && (!pr || epr)) || (!ow && epr);
+        return (ow && !pr) || epr;
     }
     
     private HttpServletResponse getHttpResponseFromMessage(Message message) throws IOException
{



Mime
View raw message