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:
David Pursehouse
2017-02-17 08:36:49 +09:00
parent 3872fccb4e
commit 1111684821
91 changed files with 190 additions and 190 deletions

View File

@@ -50,7 +50,7 @@ public class ChangeIdHandler extends OptionHandler<Change.Id> {
final String[] tokens = token.split(",");
if (tokens.length != 3) {
throw new CmdLineException(
owner, "change should be specified as " + "<project>,<branch>,<change-id>");
owner, "change should be specified as <project>,<branch>,<change-id>");
}
try {