Make inner class static

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@899963 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2010-01-16 14:27:15 +00:00
parent 0198742071
commit a2ff2dc9dd
5 changed files with 10 additions and 10 deletions

View File

@ -93,7 +93,7 @@ public class TestRedirects extends BasicServerTestBase {
localServer.start();
}
private class BasicRedirectService implements HttpRequestHandler {
private static class BasicRedirectService implements HttpRequestHandler {
private int statuscode = HttpStatus.SC_MOVED_TEMPORARILY;
private String host = null;
@ -133,7 +133,7 @@ public class TestRedirects extends BasicServerTestBase {
}
}
private class CircularRedirectService implements HttpRequestHandler {
private static class CircularRedirectService implements HttpRequestHandler {
public CircularRedirectService() {
super();
@ -157,7 +157,7 @@ public class TestRedirects extends BasicServerTestBase {
}
}
private class RelativeRedirectService implements HttpRequestHandler {
private static class RelativeRedirectService implements HttpRequestHandler {
public RelativeRedirectService() {
super();
@ -182,7 +182,7 @@ public class TestRedirects extends BasicServerTestBase {
}
}
private class RelativeRedirectService2 implements HttpRequestHandler {
private static class RelativeRedirectService2 implements HttpRequestHandler {
public RelativeRedirectService2() {
super();
@ -207,7 +207,7 @@ public class TestRedirects extends BasicServerTestBase {
}
}
private class BogusRedirectService implements HttpRequestHandler {
private static class BogusRedirectService implements HttpRequestHandler {
private String url;
public BogusRedirectService(String redirectUrl) {

View File

@ -67,7 +67,7 @@ public class TestUriEscapes extends BasicServerTestBase {
localServer.start();
}
private class UriListeningService implements HttpRequestHandler {
private static class UriListeningService implements HttpRequestHandler {
private volatile String requestedUri;

View File

@ -328,7 +328,7 @@ public class TestDefaultClientRequestDirector extends BasicServerTestBase {
}
}
private class BasicRedirectService implements HttpRequestHandler {
private static class BasicRedirectService implements HttpRequestHandler {
private int statuscode = HttpStatus.SC_SEE_OTHER;
private int port;
@ -584,7 +584,7 @@ public class TestDefaultClientRequestDirector extends BasicServerTestBase {
}
private class SimpleService implements HttpRequestHandler {
private static class SimpleService implements HttpRequestHandler {
public SimpleService() {
super();

View File

@ -75,7 +75,7 @@ public class TestRequestWrapper extends BasicServerTestBase {
localServer.start();
}
private class SimpleService implements HttpRequestHandler {
private static class SimpleService implements HttpRequestHandler {
public SimpleService() {
super();

View File

@ -69,7 +69,7 @@ public class TestStatefulConnManagement extends ServerTestBase {
return new TestSuite(TestStatefulConnManagement.class);
}
private class SimpleService implements HttpRequestHandler {
private static class SimpleService implements HttpRequestHandler {
public SimpleService() {
super();