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:
@@ -19,6 +19,7 @@ import com.google.gerrit.server.config.RequestScopedReviewDbProvider;
|
||||
import com.google.gerrit.server.util.RequestContext;
|
||||
import com.google.gerrit.server.util.ThreadLocalRequestContext;
|
||||
import com.google.gerrit.server.util.ThreadLocalRequestScopePropagator;
|
||||
import com.google.inject.Inject;
|
||||
import com.google.inject.Key;
|
||||
import com.google.inject.OutOfScopeException;
|
||||
import com.google.inject.Provider;
|
||||
@@ -27,8 +28,6 @@ import com.google.inject.Scope;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
||||
public class PerThreadRequestScope {
|
||||
public interface Scoper {
|
||||
<T> Callable<T> scope(Callable<T> callable);
|
||||
|
||||
Reference in New Issue
Block a user