Reformat the GridLauncherV3
@FunctionalInterface
private interface GridItemLauncher {
+
Optional<Stoppable> launch(PrintStream out) throws Exception;
}
@@ -144,11 +145,13 @@ private void printInfoAboutRoles(String roleCommandLineArg) {
if (roleCommandLineArg != null) {
printWrappedLine(
"",
- "Error: the role '" + roleCommandLineArg + "' does not match a recognized server role: node/hub/standalone\n");
+ "Error: the role '" + roleCommandLineArg +
+ "' does not match a recognized server role: node/hub/standalone\n");
} else {
printWrappedLine(
"",
- "Error: -role option needs to be followed by the value that defines role of this component in the grid\n");
+ "Error: -role option needs to be followed by the value that defines role of this " +
+ "component in the grid\n");
}
out.println(
"Selenium server can run in one of the following roles:\n" +
@@ -159,8 +162,8 @@ private void printInfoAboutRoles(String roleCommandLineArg) {
"If -role option is omitted the server runs standalone\n");
printWrappedLine(
"",
- "To get help on the options available for a specific role run the server"
- + " with -help option and the corresponding -role option value");
+ "To get help on the options available for a specific role run the server" +
+ " with -help option and the corresponding -role option value");
}
private void printWrappedLine(String prefix, String msg) {
