Revert "Use javax.inject.Inject instead of com.google.inject.Inject"
This reverts commit5db3bba3e2. I was too fast to submit5db3bba. Besides forgetting to submit the referenced changes in some submodules some people reported issues with the interception of the javax.inject.Inject in some JEE containers. Change-Id: I931ad329d2e7be6f6ce804b8395489a021c8240b
This commit is contained in:
@@ -30,6 +30,7 @@ import com.google.gerrit.server.config.AllProjectsName;
|
||||
import com.google.gerrit.server.git.MetaDataUpdate;
|
||||
import com.google.gerrit.server.git.ProjectConfig;
|
||||
import com.google.gerrit.server.project.SetParent.Input;
|
||||
import com.google.inject.Inject;
|
||||
import com.google.inject.Singleton;
|
||||
|
||||
import org.eclipse.jgit.errors.ConfigInvalidException;
|
||||
@@ -37,8 +38,6 @@ import org.eclipse.jgit.errors.RepositoryNotFoundException;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
||||
@Singleton
|
||||
public class SetParent implements RestModifyView<ProjectResource, Input> {
|
||||
public static class Input {
|
||||
|
||||
Reference in New Issue
Block a user