Suppress NPE warning
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1099905 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
471c2b3ae9
commit
70d37431ec
|
@ -883,7 +883,8 @@ public class DefaultRequestDirector implements RequestDirector {
|
|||
}
|
||||
}
|
||||
|
||||
int status = response.getStatusLine().getStatusCode(); // can't be null
|
||||
@SuppressWarnings("null") // can't be null
|
||||
int status = response.getStatusLine().getStatusCode();
|
||||
|
||||
if (status > 299) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue