Skip to content

Commit ac509dd

Browse files
committed
Deleting RemoteControlLauncher as it is just a couple of static methods to parse command line options, that should belong to the server.
1 parent 5107561 commit ac509dd

File tree

4 files changed

+291
-327
lines changed

4 files changed

+291
-327
lines changed

java/server/src/org/openqa/grid/selenium/GridLauncher.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import org.openqa.selenium.remote.server.log.LoggingOptions;
3131
import org.openqa.selenium.remote.server.log.TerseFormatter;
3232
import org.openqa.selenium.server.SeleniumServer;
33-
import org.openqa.selenium.server.cli.RemoteControlLauncher;
3433
import org.openqa.selenium.server.shared.CliUtils;
3534

3635
import java.io.File;
@@ -63,7 +62,7 @@ public void launch(String[] args, Logger log) throws Exception {
6362
@Override
6463
public void printUsage() {
6564
String separator = "\n-------------------------------\n";
66-
RemoteControlLauncher.usage(separator + "Running as a standalone server:" + separator);
65+
SeleniumServer.usage(separator + "Running as a standalone server:" + separator);
6766
}
6867
})
6968
.put(GridRole.HUB, new GridItemLauncher() {
@@ -158,7 +157,7 @@ private static void printInfoAboutOptionsForRole(GridRole role) {
158157
String separator = "\n-------------------------------\n";
159158
switch (role) {
160159
case NOT_GRID:
161-
RemoteControlLauncher.usage(separator + "Running as a standalone server:" + separator);
160+
SeleniumServer.usage(separator + "Running as a standalone server:" + separator);
162161
break;
163162
case HUB:
164163
GridDocHelper.printHubHelp(separator + "Running as a grid hub:" + separator, false);

0 commit comments

Comments
 (0)