Skip to content

Commit

Permalink
Fix compilation issues
Browse files Browse the repository at this point in the history
32ff140 made ports and hostnames
mandatory but left the code base not compiling. Fixed.
  • Loading branch information
shs96c committed Apr 11, 2017
1 parent 7ba1186 commit 28955cc
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ public class SeleniumAppServer extends JettyAppServer {

private static final String RC_CONTEXT_PATH = "/selenium-server";

public SeleniumAppServer() {
this(detectHostname(), getHttpPortFromEnv(), getHttpsPortFromEnv());
}

public SeleniumAppServer(String hostname, int httpPort, int httpsPort) {
super(hostname, httpPort, httpsPort);
ServletContextHandler context = addResourceHandler(RC_CONTEXT_PATH, findRootOfRcTestPages());
Expand Down

0 comments on commit 28955cc

Please sign in to comment.