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:
Jonathan Moore 2012-05-31 18:25:49 +00:00
parent 59314afc7d
commit 2514a05895
2 changed files with 0 additions and 4 deletions

View File

@ -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;
/**

View File

@ -931,7 +931,6 @@ public class DefaultRequestDirector implements RequestDirector {
}
}
@SuppressWarnings("null") // can't be null
int status = response.getStatusLine().getStatusCode();
if (status > 299) {