Squash redundant string concatenations introduced by google-java-format
Reformatting the code with google-java-format tool in change Id5f3c6de9 resulted in wrapped lines being unwrapped to the new 100 columns limit. In cases where the wrapped line was wrapped on a string concatenation, the resulting long line now includes redundant concatenations. See the upstream issue [1] for an example of this. Squash the redundant concatenations with: git ls-files | grep java$ | xargs sed -i '' 's/" + "//g' (note: this also resulted in a couple of unwanted changes; those are manually undone.) [1] https://github.com/google/google-java-format/issues/122 Change-Id: I7348413ae460c8c7a0b0c72dab0a1ae7275a2ec3
This commit is contained in:
@@ -90,7 +90,7 @@ final class ShowQueue extends SshCommand {
|
||||
"%-8s %-12s %-12s %-4s %s\n", //
|
||||
"Task", "State", "StartTime", "", "Command"));
|
||||
stdout.print(
|
||||
"----------------------------------------------" + "--------------------------------\n");
|
||||
"------------------------------------------------------------------------------\n");
|
||||
|
||||
List<TaskInfo> tasks;
|
||||
try {
|
||||
@@ -163,7 +163,7 @@ final class ShowQueue extends SshCommand {
|
||||
}
|
||||
}
|
||||
stdout.print(
|
||||
"----------------------------------------------" + "--------------------------------\n");
|
||||
"------------------------------------------------------------------------------\n");
|
||||
stdout.print(" " + tasks.size() + " tasks");
|
||||
if (threadPoolSize > 0) {
|
||||
stdout.print(", " + threadPoolSize + " worker threads");
|
||||
|
Reference in New Issue
Block a user