We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37b1342 commit 72d0e68Copy full SHA for 72d0e68
core/src/main/java/org/springframework/ws/transport/http/AbstractHttpSenderConnection.java
@@ -106,7 +106,7 @@ private boolean isGzipResponse() throws IOException {
106
*/
107
108
public final boolean hasFault() throws IOException {
109
- return getResponseCode() == HttpTransportConstants.STATUS_INTERNAL_SERVER_ERROR;
+ return HttpTransportConstants.STATUS_INTERNAL_SERVER_ERROR == getResponseCode();
110
}
111
112
public final void setFault(boolean fault) {
0 commit comments