Organize imports

Change-Id: I42d6e3acf14d72472d1d038836be5fa33dc31feb
This commit is contained in:
David Pursehouse
2015-04-14 17:23:51 +09:00
parent 3bff7aa620
commit b7c57bbf33
4 changed files with 3 additions and 5 deletions

View File

@@ -19,7 +19,6 @@ import static com.google.common.collect.Iterables.getOnlyElement;
import static com.google.gerrit.server.git.QueueProvider.QueueType.INTERACTIVE;
import static com.google.gerrit.server.index.IndexRewriteImpl.CLOSED_STATUSES;
import static com.google.gerrit.server.index.IndexRewriteImpl.OPEN_STATUSES;
import static java.util.concurrent.TimeUnit.MILLISECONDS;
import static java.util.concurrent.TimeUnit.MINUTES;

View File

@@ -17,8 +17,6 @@ package com.google.gerrit.lucene;
* limitations under the License.
*/
import java.io.IOException;
import org.apache.lucene.index.DirectoryReader;
import org.apache.lucene.index.FilterDirectoryReader;
import org.apache.lucene.index.FilterLeafReader;
@@ -29,6 +27,8 @@ import org.apache.lucene.search.ReferenceManager;
import org.apache.lucene.search.SearcherFactory;
import org.apache.lucene.store.Directory;
import java.io.IOException;
/**
* Utility class to safely share {@link IndexSearcher} instances across multiple
* threads, while periodically reopening. This class ensures each searcher is

View File

@@ -17,7 +17,6 @@ package com.google.gerrit.server.git;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.StringReader;
import java.lang.Math;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;

View File

@@ -15,8 +15,8 @@
package com.google.gerrit.sshd;
import static java.nio.charset.StandardCharsets.UTF_8;
import com.google.common.base.Preconditions;
import com.google.common.base.Preconditions;
import com.google.gerrit.common.FileUtil;
import com.google.gerrit.reviewdb.client.AccountSshKey;
import com.google.gerrit.server.IdentifiedUser;