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:
Edwin Kempin
2013-08-22 15:15:50 +02:00
parent 1d947bf77c
commit 055d43fe5e
4 changed files with 4 additions and 4 deletions

View File

@@ -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());

View File

@@ -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("----------------------------------------------"