Update import order settings to list all top-level packages

Eclipse installations disagree about where to put unmatched top-level
packages. Settle this ambiguity by listing all top-level packages used
by Gerrit. Also explicitly include unmatched static imports.

The import order thus listed corresponds to the Google Java Style
Guide:

https://google-styleguide.googlecode.com/svn/trunk/javaguide.html#s3.3.3-import-ordering-and-spacing

Organize all imports to reflect the new reality.

Change-Id: I7c541b1c522e66869669d2291dcf78ff1d8784d0
This commit is contained in:
Dave Borowitz
2015-03-23 17:28:53 -07:00
parent 6012ef5ee1
commit eac3acc3e0
4 changed files with 15 additions and 14 deletions

View File

@@ -34,6 +34,9 @@ import com.google.gerrit.server.git.GitRepositoryManager;
import com.google.inject.Inject;
import com.google.inject.util.Providers;
import dk.brics.automaton.RegExp;
import dk.brics.automaton.RunAutomaton;
import org.eclipse.jgit.errors.RepositoryNotFoundException;
import org.eclipse.jgit.lib.Constants;
import org.eclipse.jgit.lib.Ref;
@@ -51,9 +54,6 @@ import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import dk.brics.automaton.RegExp;
import dk.brics.automaton.RunAutomaton;
public class ListBranches implements RestReadView<ProjectResource> {
private final GitRepositoryManager repoManager;
private final DynamicMap<RestView<BranchResource>> branchViews;