Organize imports.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1437583 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2013-01-23 17:23:36 +00:00
parent 79a3325bda
commit a544aef29e
15 changed files with 14 additions and 29 deletions

View File

@ -32,8 +32,6 @@ import java.io.IOException;
import java.io.InputStream;
import java.util.concurrent.atomic.AtomicBoolean;
import org.junit.Assert;
import org.apache.http.Consts;
import org.apache.http.HttpEntity;
import org.apache.http.entity.ByteArrayEntity;
@ -41,6 +39,7 @@ import org.apache.http.entity.ContentType;
import org.apache.http.entity.InputStreamEntity;
import org.apache.http.entity.StringEntity;
import org.apache.http.util.EntityUtils;
import org.junit.Assert;
import org.junit.Test;
public class TestGZip {

View File

@ -26,14 +26,13 @@
*/
package org.apache.http.client.protocol;
import org.junit.Assert;
import org.apache.http.Header;
import org.apache.http.HttpRequest;
import org.apache.http.HttpRequestInterceptor;
import org.apache.http.message.BasicHttpRequest;
import org.apache.http.protocol.BasicHttpContext;
import org.apache.http.protocol.HttpContext;
import org.junit.Assert;
import org.junit.Test;
public class TestRequestAcceptEncoding {

View File

@ -26,8 +26,6 @@
*/
package org.apache.http.client.protocol;
import org.junit.Assert;
import org.apache.http.HttpHost;
import org.apache.http.HttpRequest;
import org.apache.http.HttpRequestInterceptor;
@ -45,6 +43,7 @@ import org.apache.http.message.BasicHttpRequest;
import org.apache.http.protocol.BasicHttpContext;
import org.apache.http.protocol.ExecutionContext;
import org.apache.http.protocol.HttpContext;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;

View File

@ -26,8 +26,6 @@
*/
package org.apache.http.client.protocol;
import org.junit.Assert;
import org.apache.http.Header;
import org.apache.http.HttpHost;
import org.apache.http.HttpRequest;
@ -39,6 +37,7 @@ import org.apache.http.message.BasicHttpRequest;
import org.apache.http.protocol.BasicHttpContext;
import org.apache.http.protocol.HTTP;
import org.apache.http.protocol.HttpContext;
import org.junit.Assert;
import org.junit.Test;
public class TestRequestClientConnControl {

View File

@ -29,8 +29,6 @@ package org.apache.http.client.protocol;
import java.util.ArrayList;
import java.util.List;
import org.junit.Assert;
import org.apache.http.Header;
import org.apache.http.HttpRequest;
import org.apache.http.HttpRequestInterceptor;
@ -38,6 +36,7 @@ import org.apache.http.message.BasicHeader;
import org.apache.http.message.BasicHttpRequest;
import org.apache.http.protocol.BasicHttpContext;
import org.apache.http.protocol.HttpContext;
import org.junit.Assert;
import org.junit.Test;
public class TestRequestDefaultHeaders {

View File

@ -26,8 +26,6 @@
*/
package org.apache.http.client.protocol;
import org.junit.Assert;
import org.apache.http.HttpHost;
import org.apache.http.HttpResponse;
import org.apache.http.HttpResponseInterceptor;
@ -45,6 +43,7 @@ import org.apache.http.message.BasicHttpResponse;
import org.apache.http.protocol.BasicHttpContext;
import org.apache.http.protocol.ExecutionContext;
import org.apache.http.protocol.HttpContext;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;

View File

@ -26,8 +26,6 @@
*/
package org.apache.http.client.protocol;
import org.junit.Assert;
import org.apache.http.HttpEntity;
import org.apache.http.HttpException;
import org.apache.http.HttpResponse;
@ -39,6 +37,7 @@ import org.apache.http.entity.StringEntity;
import org.apache.http.message.BasicHttpResponse;
import org.apache.http.protocol.BasicHttpContext;
import org.apache.http.protocol.HttpContext;
import org.junit.Assert;
import org.junit.Test;
public class TestResponseContentEncoding {

View File

@ -28,8 +28,6 @@ package org.apache.http.client.protocol;
import java.util.List;
import org.junit.Assert;
import org.apache.http.HttpResponse;
import org.apache.http.HttpResponseInterceptor;
import org.apache.http.HttpVersion;
@ -43,6 +41,7 @@ import org.apache.http.impl.cookie.BestMatchSpec;
import org.apache.http.message.BasicHttpResponse;
import org.apache.http.protocol.BasicHttpContext;
import org.apache.http.protocol.HttpContext;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;

View File

@ -30,7 +30,6 @@ import java.io.IOException;
import java.io.InputStream;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;

View File

@ -29,8 +29,6 @@ package org.apache.http.impl.client;
import java.io.InputStream;
import org.junit.Assert;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.HttpVersion;
@ -38,6 +36,7 @@ import org.apache.http.StatusLine;
import org.apache.http.client.HttpResponseException;
import org.apache.http.entity.StringEntity;
import org.apache.http.message.BasicStatusLine;
import org.junit.Assert;
import org.junit.Test;
import org.mockito.Mockito;

View File

@ -29,8 +29,6 @@ package org.apache.http.impl.client;
import java.io.IOException;
import java.io.InputStream;
import org.junit.Assert;
import org.apache.http.HttpEntity;
import org.apache.http.HttpHost;
import org.apache.http.HttpRequest;
@ -40,6 +38,7 @@ import org.apache.http.client.ResponseHandler;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.protocol.HttpContext;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;

View File

@ -30,8 +30,6 @@ import java.io.Closeable;
import java.io.IOException;
import java.util.Arrays;
import org.junit.Assert;
import org.apache.http.HttpException;
import org.apache.http.HttpHost;
import org.apache.http.auth.AuthSchemeProvider;
@ -49,6 +47,7 @@ import org.apache.http.conn.routing.HttpRoutePlanner;
import org.apache.http.cookie.CookieSpecProvider;
import org.apache.http.impl.execchain.ClientExecChain;
import org.apache.http.params.CoreConnectionPNames;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.mockito.ArgumentCaptor;

View File

@ -30,9 +30,8 @@ package org.apache.http.impl.cookie;
import java.io.InputStreamReader;
import java.io.Reader;
import org.junit.Assert;
import org.apache.http.cookie.CookieOrigin;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;

View File

@ -29,11 +29,10 @@ package org.apache.http.impl.execchain;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
import org.junit.Assert;
import org.apache.commons.logging.Log;
import org.apache.http.HttpClientConnection;
import org.apache.http.conn.HttpClientConnectionManager;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;

View File

@ -31,10 +31,9 @@ import java.io.InputStream;
import java.io.OutputStream;
import java.net.SocketException;
import org.junit.Assert;
import org.apache.http.HttpEntity;
import org.apache.http.util.EntityUtils;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;