diff --git a/gerrit-pgm/src/main/java/com/google/gerrit/pgm/Daemon.java b/gerrit-pgm/src/main/java/com/google/gerrit/pgm/Daemon.java index c05948d073..29b025bdc1 100644 --- a/gerrit-pgm/src/main/java/com/google/gerrit/pgm/Daemon.java +++ b/gerrit-pgm/src/main/java/com/google/gerrit/pgm/Daemon.java @@ -157,6 +157,7 @@ public class Daemon extends SiteProgram { manager.start(); RuntimeShutdown.add(new Runnable() { + @Override public void run() { log.info("caught shutdown, cleaning up"); if (runId != null) { diff --git a/gerrit-pgm/src/main/java/com/google/gerrit/pgm/ExportReviewNotes.java b/gerrit-pgm/src/main/java/com/google/gerrit/pgm/ExportReviewNotes.java index 5f0bc8098a..b40461dd20 100644 --- a/gerrit-pgm/src/main/java/com/google/gerrit/pgm/ExportReviewNotes.java +++ b/gerrit-pgm/src/main/java/com/google/gerrit/pgm/ExportReviewNotes.java @@ -27,7 +27,6 @@ import com.google.gerrit.reviewdb.client.Project; import com.google.gerrit.reviewdb.server.ReviewDb; import com.google.gerrit.server.account.AccountCacheImpl; import com.google.gerrit.server.account.GroupCacheImpl; -import com.google.gerrit.server.cache.CachePool; import com.google.gerrit.server.config.ApprovalTypesProvider; import com.google.gerrit.server.config.CanonicalWebUrl; import com.google.gerrit.server.config.CanonicalWebUrlProvider; diff --git a/gerrit-pgm/src/main/java/com/google/gerrit/pgm/Gsql.java b/gerrit-pgm/src/main/java/com/google/gerrit/pgm/Gsql.java index d967969bbf..a5ce9081c4 100644 --- a/gerrit-pgm/src/main/java/com/google/gerrit/pgm/Gsql.java +++ b/gerrit-pgm/src/main/java/com/google/gerrit/pgm/Gsql.java @@ -47,6 +47,7 @@ public class Gsql extends SiteProgram { manager.add(dbInjector); manager.start(); RuntimeShutdown.add(new Runnable() { + @Override public void run() { try { System.in.close(); diff --git a/gerrit-pgm/src/main/java/com/google/gerrit/pgm/Rulec.java b/gerrit-pgm/src/main/java/com/google/gerrit/pgm/Rulec.java index 451ed3012f..cabdc6432e 100644 --- a/gerrit-pgm/src/main/java/com/google/gerrit/pgm/Rulec.java +++ b/gerrit-pgm/src/main/java/com/google/gerrit/pgm/Rulec.java @@ -43,7 +43,7 @@ public class Rulec extends SiteProgram { @Option(name = "--all", usage = "recompile all rules") private boolean all; - @Option(name = "--quiet", usage = "supress some messsages") + @Option(name = "--quiet", usage = "suppress some messages") private boolean quiet; @Argument(index = 0, multiValued = true, metaVar = "PROJECT", usage = "project to compile rules for")