diff --git a/httpclient/src/test/java/org/apache/http/client/protocol/TestRedirects.java b/httpclient/src/test/java/org/apache/http/client/protocol/TestRedirects.java index 33371934e..e43986270 100644 --- a/httpclient/src/test/java/org/apache/http/client/protocol/TestRedirects.java +++ b/httpclient/src/test/java/org/apache/http/client/protocol/TestRedirects.java @@ -311,12 +311,12 @@ public class TestRedirects extends BasicServerTestBase { this.localServer.register("*", new HttpRequestHandler() { public void handle( - final HttpRequest request, + final HttpRequest request, final HttpResponse response, final HttpContext context) throws HttpException, IOException { response.setStatusCode(HttpStatus.SC_MOVED_TEMPORARILY); } - + }); DefaultHttpClient client = new DefaultHttpClient(); diff --git a/httpclient/src/test/java/org/apache/http/impl/auth/TestNegotiateScheme.java b/httpclient/src/test/java/org/apache/http/impl/auth/TestNegotiateScheme.java index 4d567e4c5..b2dae780f 100644 --- a/httpclient/src/test/java/org/apache/http/impl/auth/TestNegotiateScheme.java +++ b/httpclient/src/test/java/org/apache/http/impl/auth/TestNegotiateScheme.java @@ -97,11 +97,11 @@ public class TestNegotiateScheme extends BasicServerTestBase { * */ private static class NegotiateSchemeWithMockGssManager extends NegotiateScheme { - + GSSManager manager = EasyMock.createNiceMock(GSSManager.class); GSSName name = EasyMock.createNiceMock(GSSName.class); GSSContext context = EasyMock.createNiceMock(GSSContext.class); - + NegotiateSchemeWithMockGssManager() throws Exception { super(null, true); @@ -134,11 +134,11 @@ public class TestNegotiateScheme extends BasicServerTestBase { EasyMock.verify(name); EasyMock.verify(manager); } - + } private static class UseJaasCredentials implements Credentials { - + public String getPassword() { return null; } @@ -146,22 +146,22 @@ public class TestNegotiateScheme extends BasicServerTestBase { public Principal getUserPrincipal() { return null; } - + } private static class NegotiateSchemeFactoryWithMockGssManager extends NegotiateSchemeFactory { - + NegotiateSchemeWithMockGssManager scheme; - + NegotiateSchemeFactoryWithMockGssManager() throws Exception { scheme = new NegotiateSchemeWithMockGssManager(); } - + @Override public AuthScheme newInstance(HttpParams params) { return scheme; } - + } /**