Remove redundant modifiers

This commit is contained in:
Phillip Webb
2015-09-08 15:06:44 -07:00
parent 460ca75fce
commit e07df7e4c6
210 changed files with 325 additions and 325 deletions

View File

@@ -228,7 +228,7 @@ public class RemoteDevToolsAutoConfigurationTests {
private boolean invoked;
public MockHttpTunnelServer(TargetServerConnection serverConnection) {
MockHttpTunnelServer(TargetServerConnection serverConnection) {
super(serverConnection);
}
@@ -247,7 +247,7 @@ public class RemoteDevToolsAutoConfigurationTests {
private boolean invoked;
public MockHttpRestartServer(SourceFolderUrlFilter sourceFolderUrlFilter) {
MockHttpRestartServer(SourceFolderUrlFilter sourceFolderUrlFilter) {
super(sourceFolderUrlFilter);
}

View File

@@ -141,7 +141,7 @@ public class ClassPathFileSystemWatcherTests {
private final FileSystemWatcher watcher;
public MockFileSystemWatcherFactory(FileSystemWatcher watcher) {
MockFileSystemWatcherFactory(FileSystemWatcher watcher) {
this.watcher = watcher;
}

View File

@@ -174,7 +174,7 @@ public class LiveReloadServerTests {
private int pongCount;
public Driver(WebSocketListener listener) {
Driver(WebSocketListener listener) {
super(WebSocketPolicy.newClientPolicy(), listener);
}
@@ -223,7 +223,7 @@ public class LiveReloadServerTests {
private List<ConnectionClosedException> closedExceptions = new ArrayList<ConnectionClosedException>();
public MonitoredLiveReloadServer(int port) {
MonitoredLiveReloadServer(int port) {
super(port);
}
@@ -239,7 +239,7 @@ public class LiveReloadServerTests {
private class MonitoredConnection extends Connection {
public MonitoredConnection(java.net.Socket socket, InputStream inputStream,
MonitoredConnection(java.net.Socket socket, InputStream inputStream,
OutputStream outputStream) throws IOException {
super(socket, inputStream, outputStream);
}

View File

@@ -90,7 +90,7 @@ public class DefaultRestartInitializerTests {
private static class MockAppClassLoader extends ClassLoader {
public MockAppClassLoader(ClassLoader parent) {
MockAppClassLoader(ClassLoader parent) {
super(parent);
}
@@ -98,7 +98,7 @@ public class DefaultRestartInitializerTests {
private static class MockLauncherClassLoader extends ClassLoader {
public MockLauncherClassLoader(ClassLoader parent) {
MockLauncherClassLoader(ClassLoader parent) {
super(parent);
}
@@ -108,7 +108,7 @@ public class DefaultRestartInitializerTests {
private final boolean considerStackElements;
public MockRestartInitializer(boolean considerStackElements) {
MockRestartInitializer(boolean considerStackElements) {
this.considerStackElements = considerStackElements;
}

View File

@@ -98,7 +98,7 @@ public class MainMethodTests {
private MainMethod mainMethod;
public TestThread(Runnable runnable) {
TestThread(Runnable runnable) {
this.runnable = runnable;
}

View File

@@ -238,7 +238,7 @@ public class RestarterTests {
private ClassLoader relaunchClassLoader;
public TestableRestarter() {
TestableRestarter() {
this(Thread.currentThread(), new String[] {}, false,
new MockRestartInitializer());
}

View File

@@ -61,7 +61,7 @@ public class SilentExitExceptionHandlerTests {
private Throwable thrown;
public TestThread() {
TestThread() {
setUncaughtExceptionHandler(new UncaughtExceptionHandler() {
@Override
public void uncaughtException(Thread t, Throwable e) {

View File

@@ -118,7 +118,7 @@ public class RestartServerTests {
private static class MockRestartServer extends RestartServer {
public MockRestartServer(SourceFolderUrlFilter sourceFolderUrlFilter,
MockRestartServer(SourceFolderUrlFilter sourceFolderUrlFilter,
ClassLoader classLoader) {
super(sourceFolderUrlFilter, classLoader);
}

View File

@@ -74,7 +74,7 @@ public class MockClientHttpRequestFactory implements ClientHttpRequestFactory {
private class MockRequest extends MockClientHttpRequest {
public MockRequest(URI uri, HttpMethod httpMethod) {
MockRequest(URI uri, HttpMethod httpMethod) {
super(httpMethod, uri);
}
@@ -98,7 +98,7 @@ public class MockClientHttpRequestFactory implements ClientHttpRequestFactory {
private final HttpStatus status;
public Response(int delay, byte[] payload, HttpStatus status) {
Response(int delay, byte[] payload, HttpStatus status) {
this.delay = delay;
this.payload = payload;
this.status = status;

View File

@@ -162,7 +162,7 @@ public class TunnelClientTests {
private final Closeable closeable;
public TunnelChannel(WritableByteChannel incomingChannel, Closeable closeable) {
TunnelChannel(WritableByteChannel incomingChannel, Closeable closeable) {
this.incomingChannel = incomingChannel;
this.closeable = closeable;
}

View File

@@ -427,12 +427,12 @@ public class HttpTunnelServerTests {
*/
private static class MockHttpConnection extends HttpConnection {
public MockHttpConnection() {
MockHttpConnection() {
super(new ServletServerHttpRequest(new MockHttpServletRequest()),
new ServletServerHttpResponse(new MockHttpServletResponse()));
}
public MockHttpConnection(String content, int seq) {
MockHttpConnection(String content, int seq) {
this();
MockHttpServletRequest request = getServletRequest();
request.setContent(content.getBytes());

View File

@@ -109,7 +109,7 @@ public class SocketTargetServerConnectionTests {
private ServerThread thread;
public MockServer(int port) throws IOException {
MockServer(int port) throws IOException {
this.serverSocket = ServerSocketChannel.open();
this.serverSocket.bind(new InetSocketAddress(port));
}