Skip to content

Commit 72d0e68

Browse files
committed
Minor cleanup
1 parent 37b1342 commit 72d0e68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/springframework/ws/transport/http/AbstractHttpSenderConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ private boolean isGzipResponse() throws IOException {
106106
*/
107107

108108
public final boolean hasFault() throws IOException {
109-
return getResponseCode() == HttpTransportConstants.STATUS_INTERNAL_SERVER_ERROR;
109+
return HttpTransportConstants.STATUS_INTERNAL_SERVER_ERROR == getResponseCode();
110110
}
111111

112112
public final void setFault(boolean fault) {

0 commit comments

Comments
 (0)