Skip to content

Commit ac55787

Browse files
committed
removed unnecessary argument.
1 parent 60789a7 commit ac55787

File tree

1 file changed

+1
-1
lines changed
  • launcher/src/main/java/org/apache/spark/launcher

1 file changed

+1
-1
lines changed

launcher/src/main/java/org/apache/spark/launcher/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public static void main(String[] argsArray) throws Exception {
103103
* quoting and other batch script fun stuff: http://ss64.com/nt/syntax-esc.html
104104
*/
105105
private static String prepareWindowsCommand(List<String> cmd, Map<String, String> childEnv) {
106-
StringBuilder cmdline = new StringBuilder("");
106+
StringBuilder cmdline = new StringBuilder();
107107
for (Map.Entry<String, String> e : childEnv.entrySet()) {
108108
cmdline.append(String.format("set %s=%s", e.getKey(), e.getValue()));
109109
cmdline.append(" && ");

0 commit comments

Comments
 (0)