Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Stewart committed Aug 9, 2018
1 parent 3c8453c commit 9a30412
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion java/server/src/org/openqa/grid/shared/GridNodeServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ public interface GridNodeServer extends Stoppable {
boolean boot() throws Exception;
int getRealPort();
void setExtraServlets(Map<String, Class<? extends Servlet>> extraServlets);
void setConfiguration(StandaloneConfiguration configuration);
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ public class SeleniumServer implements GridNodeServer {

private final static Logger LOG = Logger.getLogger(SeleniumServer.class.getName());

private final StandaloneConfiguration configuration;
private Server server;
private StandaloneConfiguration configuration;
private Map<String, Class<? extends Servlet>> extraServlets;

/**
Expand Down Expand Up @@ -114,10 +114,6 @@ private void addExtraServlets(ServletContextHandler handler) {
}
}

public void setConfiguration(StandaloneConfiguration configuration) {
this.configuration = configuration;
}

public void setExtraServlets(Map<String, Class<? extends Servlet>> extraServlets) {
this.extraServlets = extraServlets;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import org.junit.Test;
import org.openqa.grid.common.RegistrationRequest;
import org.openqa.grid.internal.utils.configuration.GridNodeConfiguration;
import org.openqa.grid.internal.utils.configuration.StandaloneConfiguration;
import org.openqa.grid.shared.GridNodeServer;
import org.openqa.grid.web.servlet.DisplayHelpServlet;
import org.openqa.grid.web.servlet.ResourceServlet;
Expand All @@ -48,9 +47,6 @@ public int getRealPort() {
return 1234;
}

@Override
public void setConfiguration(StandaloneConfiguration configuration) { }

@Override
public void setExtraServlets(Map<String, Class<? extends Servlet>> extraServlets) {
this.extraServlets = extraServlets;
Expand Down

0 comments on commit 9a30412

Please sign in to comment.