Compiler warning cleanup: unused imports and unneeded @SuppressWarnings.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1344851 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
59314afc7d
commit
2514a05895
|
@ -27,15 +27,12 @@
|
|||
|
||||
package org.apache.http.client.protocol;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.http.annotation.NotThreadSafe;
|
||||
|
||||
import org.apache.http.auth.AuthSchemeRegistry;
|
||||
import org.apache.http.client.CookieStore;
|
||||
import org.apache.http.client.CredentialsProvider;
|
||||
import org.apache.http.cookie.CookieSpecRegistry;
|
||||
import org.apache.http.params.HttpParams;
|
||||
import org.apache.http.protocol.HttpContext;
|
||||
|
||||
/**
|
||||
|
|
|
@ -931,7 +931,6 @@ public class DefaultRequestDirector implements RequestDirector {
|
|||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("null") // can't be null
|
||||
int status = response.getStatusLine().getStatusCode();
|
||||
|
||||
if (status > 299) {
|
||||
|
|
Loading…
Reference in New Issue