Move GetArchive.AllowedFormats to its own file

Change-Id: I999ed908d587ff9af91715c488b944de5254fac4
This commit is contained in:
Stefan Beller
2016-09-14 10:04:56 -07:00
parent 2962ec29c7
commit d96c3e5986
4 changed files with 69 additions and 51 deletions

View File

@@ -18,8 +18,8 @@ import static java.nio.charset.StandardCharsets.UTF_8;
import com.google.common.collect.ImmutableMap;
import com.google.gerrit.reviewdb.server.ReviewDb;
import com.google.gerrit.server.change.AllowedFormats;
import com.google.gerrit.server.change.ArchiveFormat;
import com.google.gerrit.server.change.GetArchive;
import com.google.gerrit.sshd.AbstractGitCommand;
import com.google.inject.Inject;
@@ -101,7 +101,7 @@ public class UploadArchive extends AbstractGitCommand {
}
@Inject
private GetArchive.AllowedFormats allowedFormats;
private AllowedFormats allowedFormats;
@Inject
private ReviewDb db;
private Options options = new Options();