Fix String.format(...) calls where more args are passed than used
Change-Id: Ie6ddee996593b8bdddea20d8a8738a1048c54631 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
@@ -290,7 +290,7 @@ final class ShowCaches extends CacheCommand {
|
||||
runtimeBean.getVmVendor(),
|
||||
runtimeBean.getVmName(),
|
||||
runtimeBean.getVmVersion());
|
||||
stdout.format(" on %s %s %s\n", "",
|
||||
stdout.format(" on %s %s %s\n",
|
||||
osBean.getName(),
|
||||
osBean.getVersion(),
|
||||
osBean.getArch());
|
||||
|
||||
@@ -163,7 +163,7 @@ final class ShowQueue extends SshCommand {
|
||||
}
|
||||
|
||||
stdout.print(String.format("%8s %-12s %-4s %s\n", //
|
||||
id(task.getTaskId()), start, startTime, "", remoteName));
|
||||
id(task.getTaskId()), start, startTime, remoteName));
|
||||
}
|
||||
}
|
||||
stdout.print("----------------------------------------------"
|
||||
|
||||
Reference in New Issue
Block a user