Merge "Add missing trailing comma on array declarations"
This commit is contained in:
@@ -134,7 +134,7 @@ public class JythonShell {
|
||||
new Class[] { String.class, pyObject },
|
||||
new Object[] { getDefaultBanner() +
|
||||
" running for Gerrit " + com.google.gerrit.common.Version.getVersion(),
|
||||
null });
|
||||
null, });
|
||||
}
|
||||
|
||||
public void set(String key, Object content) {
|
||||
|
||||
@@ -105,22 +105,22 @@ class InitSshd implements InitStep {
|
||||
|
||||
System.err.print(" rsa...");
|
||||
System.err.flush();
|
||||
Runtime.getRuntime().exec(new String[] {"ssh-keygen", //
|
||||
"-q" /* quiet */, //
|
||||
"-t", "rsa", //
|
||||
"-P", "", //
|
||||
"-C", comment, //
|
||||
"-f", site.ssh_rsa.toAbsolutePath().toString() //
|
||||
Runtime.getRuntime().exec(new String[] {"ssh-keygen",
|
||||
"-q" /* quiet */,
|
||||
"-t", "rsa",
|
||||
"-P", "",
|
||||
"-C", comment,
|
||||
"-f", site.ssh_rsa.toAbsolutePath().toString(),
|
||||
}).waitFor();
|
||||
|
||||
System.err.print(" dsa...");
|
||||
System.err.flush();
|
||||
Runtime.getRuntime().exec(new String[] {"ssh-keygen", //
|
||||
"-q" /* quiet */, //
|
||||
"-t", "dsa", //
|
||||
"-P", "", //
|
||||
"-C", comment, //
|
||||
"-f", site.ssh_dsa.toAbsolutePath().toString() //
|
||||
Runtime.getRuntime().exec(new String[] {"ssh-keygen",
|
||||
"-q" /* quiet */,
|
||||
"-t", "dsa",
|
||||
"-P", "",
|
||||
"-C", comment,
|
||||
"-f", site.ssh_dsa.toAbsolutePath().toString(),
|
||||
}).waitFor();
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user