andrei-ivanov commented on a change in pull request #414: [CXF-7653]:Fix NPE in
ClientProxy
URL: https://github.com/apache/cxf/pull/414#discussion_r185747119
##########
File path:
rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java
##########
@@ -138,6 +138,10 @@ public Object invoke(Object proxy, Method method,
Object[] args) throws Throwabl
} else {
result = invokeSync(method, oi, params);
}
+ if (result == null && !method.getReturnType().equals(Void.TYPE)
Review comment:
nitpick: you can use == to check class equality
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services