Minor cleanup

This commit is contained in:
Arjen Poutsma
2008-03-18 11:25:34 +00:00
parent 37b13426d4
commit 72d0e68b1d

View File

@@ -106,7 +106,7 @@ public abstract class AbstractHttpSenderConnection extends AbstractSenderConnect
*/
public final boolean hasFault() throws IOException {
return getResponseCode() == HttpTransportConstants.STATUS_INTERNAL_SERVER_ERROR;
return HttpTransportConstants.STATUS_INTERNAL_SERVER_ERROR == getResponseCode();
}
public final void setFault(boolean fault) {