ffang commented on code in PR #3723:
URL: https://github.com/apache/cxf/pull/3723#discussion_r4591596377


##########
rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java:
##########
@@ -1784,8 +1784,16 @@ protected void handleResponseInternal() throws 
IOException {
                     }
                     //REVISIT move the decoupled destination property name 
into api
                     Endpoint ep = exchange.getEndpoint();
-                    if (null != ep && null != ep.getEndpointInfo() && null == 
ep.getEndpointInfo().
-                            
getProperty("org.apache.cxf.ws.addressing.MAPAggregator.decoupledDestination")) 
{
+                    EndpointInfo ei = ep == null ? null : ep.getEndpointInfo();
+                    boolean decoupled = ei != null && ei.getProperty(
+                        
"org.apache.cxf.ws.addressing.MAPAggregator.decoupledDestination") != null;
+                    if (in == null && !isOneway(exchange) && decoupled) {

Review Comment:
   I think we also good without "in == null" check here



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to