Closes gh-11327
This commit is contained in:
Johnny Lim
2017-12-12 23:45:25 +09:00
committed by Stephane Nicoll
parent 14bc52f481
commit de72f2ae32
8 changed files with 17 additions and 31 deletions

View File

@@ -28,8 +28,6 @@ import org.springframework.boot.devtools.remote.server.DispatcherFilter;
import org.springframework.boot.devtools.restart.MockRestarter;
import org.springframework.boot.devtools.restart.server.HttpRestartServer;
import org.springframework.boot.devtools.restart.server.SourceFolderUrlFilter;
import org.springframework.boot.devtools.tunnel.server.HttpTunnelServer;
import org.springframework.boot.devtools.tunnel.server.TargetServerConnection;
import org.springframework.boot.test.util.TestPropertyValues;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@@ -199,21 +197,6 @@ public class RemoteDevToolsAutoConfigurationTests {
}
/**
* Mock {@link HttpTunnelServer} implementation.
*/
static class MockHttpTunnelServer extends HttpTunnelServer {
MockHttpTunnelServer(TargetServerConnection serverConnection) {
super(serverConnection);
}
@Override
public void handle(ServerHttpRequest request, ServerHttpResponse response) {
}
}
/**
* Mock {@link HttpRestartServer} implementation.
*/