Format java files with google-java-format

google-java-format was not run after squashing string concatenations
in change I7348413ae.

Change-Id: I30afb262cca64e7638657d59ebb81938c22f0242
This commit is contained in:
David Pursehouse
2017-02-17 13:21:04 +09:00
parent 34f51034c9
commit 42ace3c4f4
16 changed files with 26 additions and 56 deletions

View File

@@ -96,8 +96,7 @@ public abstract class SiteProgram extends AbstractProgram {
/** Ensures we are running inside of a valid site, otherwise throws a Die. */
protected void mustHaveValidSite() throws Die {
if (!Files.exists(sitePath.resolve("etc").resolve("gerrit.config"))) {
throw die(
"not a Gerrit site: '" + getSitePath() + "'\nPerhaps you need to run init first?");
throw die("not a Gerrit site: '" + getSitePath() + "'\nPerhaps you need to run init first?");
}
}