From 3e84b0b283d71b68188fd99ad9e9e98a755ef332 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Fri, 13 Nov 2015 00:24:47 -0800 Subject: [PATCH] Organize imports Change-Id: I2ad2a5597542461cc221800bdeab7f8bd09fd8c1 --- .../java/com/google/gerrit/httpd/restapi/RestApiMetrics.java | 2 +- .../java/com/google/gerrit/metrics/proc/JGitMetricModule.java | 2 +- .../main/java/com/google/gerrit/server/git/ReceiveCommits.java | 1 - .../google/gerrit/server/query/change/ChangeQueryBuilder.java | 2 -- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/gerrit-httpd/src/main/java/com/google/gerrit/httpd/restapi/RestApiMetrics.java b/gerrit-httpd/src/main/java/com/google/gerrit/httpd/restapi/RestApiMetrics.java index 652acb9b23..2a01b772f5 100644 --- a/gerrit-httpd/src/main/java/com/google/gerrit/httpd/restapi/RestApiMetrics.java +++ b/gerrit-httpd/src/main/java/com/google/gerrit/httpd/restapi/RestApiMetrics.java @@ -19,11 +19,11 @@ import com.google.gerrit.httpd.restapi.RestApiServlet.ViewData; import com.google.gerrit.metrics.Counter1; import com.google.gerrit.metrics.Counter2; import com.google.gerrit.metrics.Description; +import com.google.gerrit.metrics.Description.Units; import com.google.gerrit.metrics.Field; import com.google.gerrit.metrics.Histogram1; import com.google.gerrit.metrics.MetricMaker; import com.google.gerrit.metrics.Timer1; -import com.google.gerrit.metrics.Description.Units; import com.google.inject.Inject; import com.google.inject.Singleton; diff --git a/gerrit-server/src/main/java/com/google/gerrit/metrics/proc/JGitMetricModule.java b/gerrit-server/src/main/java/com/google/gerrit/metrics/proc/JGitMetricModule.java index 7bf69b8cd9..b5a2fcc8a1 100644 --- a/gerrit-server/src/main/java/com/google/gerrit/metrics/proc/JGitMetricModule.java +++ b/gerrit-server/src/main/java/com/google/gerrit/metrics/proc/JGitMetricModule.java @@ -16,8 +16,8 @@ package com.google.gerrit.metrics.proc; import com.google.common.base.Supplier; import com.google.gerrit.metrics.Description; -import com.google.gerrit.metrics.MetricMaker; import com.google.gerrit.metrics.Description.Units; +import com.google.gerrit.metrics.MetricMaker; import org.eclipse.jgit.internal.storage.file.WindowCacheStatAccessor; diff --git a/gerrit-server/src/main/java/com/google/gerrit/server/git/ReceiveCommits.java b/gerrit-server/src/main/java/com/google/gerrit/server/git/ReceiveCommits.java index 4e4a9933b1..63b03b633f 100644 --- a/gerrit-server/src/main/java/com/google/gerrit/server/git/ReceiveCommits.java +++ b/gerrit-server/src/main/java/com/google/gerrit/server/git/ReceiveCommits.java @@ -53,7 +53,6 @@ import com.google.common.util.concurrent.CheckedFuture; import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.ListeningExecutorService; -import com.google.gerrit.common.ChangeHookRunner.HookResult; import com.google.gerrit.common.ChangeHooks; import com.google.gerrit.common.Nullable; import com.google.gerrit.common.TimeUtil; diff --git a/gerrit-server/src/main/java/com/google/gerrit/server/query/change/ChangeQueryBuilder.java b/gerrit-server/src/main/java/com/google/gerrit/server/query/change/ChangeQueryBuilder.java index a025caa3f6..2d141b62c2 100644 --- a/gerrit-server/src/main/java/com/google/gerrit/server/query/change/ChangeQueryBuilder.java +++ b/gerrit-server/src/main/java/com/google/gerrit/server/query/change/ChangeQueryBuilder.java @@ -56,7 +56,6 @@ import com.google.gerrit.server.project.ListChildProjects; import com.google.gerrit.server.project.ProjectCache; import com.google.gerrit.server.query.Predicate; import com.google.gerrit.server.query.QueryBuilder; -import com.google.gerrit.server.query.QueryBuilder.OperatorFactory; import com.google.gerrit.server.query.QueryParseException; import com.google.gwtorm.server.OrmException; import com.google.inject.Inject; @@ -72,7 +71,6 @@ import org.eclipse.jgit.lib.Repository; import java.io.IOException; import java.util.Collection; import java.util.Collections; -import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map;