Skip to content

Commit

Permalink
Deleting RemoteControlLauncher as it is just a couple of static metho…
Browse files Browse the repository at this point in the history
…ds to parse command line options, that should belong to the server.
  • Loading branch information
barancev committed Oct 15, 2015
1 parent 5107561 commit ac509dd
Show file tree
Hide file tree
Showing 4 changed files with 291 additions and 327 deletions.
5 changes: 2 additions & 3 deletions java/server/src/org/openqa/grid/selenium/GridLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
import org.openqa.selenium.remote.server.log.LoggingOptions;
import org.openqa.selenium.remote.server.log.TerseFormatter;
import org.openqa.selenium.server.SeleniumServer;
import org.openqa.selenium.server.cli.RemoteControlLauncher;
import org.openqa.selenium.server.shared.CliUtils;

import java.io.File;
Expand Down Expand Up @@ -63,7 +62,7 @@ public void launch(String[] args, Logger log) throws Exception {
@Override
public void printUsage() {
String separator = "\n-------------------------------\n";
RemoteControlLauncher.usage(separator + "Running as a standalone server:" + separator);
SeleniumServer.usage(separator + "Running as a standalone server:" + separator);
}
})
.put(GridRole.HUB, new GridItemLauncher() {
Expand Down Expand Up @@ -158,7 +157,7 @@ private static void printInfoAboutOptionsForRole(GridRole role) {
String separator = "\n-------------------------------\n";
switch (role) {
case NOT_GRID:
RemoteControlLauncher.usage(separator + "Running as a standalone server:" + separator);
SeleniumServer.usage(separator + "Running as a standalone server:" + separator);
break;
case HUB:
GridDocHelper.printHubHelp(separator + "Running as a grid hub:" + separator, false);
Expand Down
Loading

0 comments on commit ac509dd

Please sign in to comment.