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:
@@ -17,12 +17,11 @@ package com.google.gerrit.server.change;
|
||||
import com.google.gerrit.extensions.restapi.BinaryResult;
|
||||
import com.google.gerrit.extensions.restapi.ResourceNotFoundException;
|
||||
import com.google.gerrit.extensions.restapi.RestReadView;
|
||||
import com.google.inject.Inject;
|
||||
import com.google.inject.Singleton;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
||||
@Singleton
|
||||
public class GetContent implements RestReadView<FileResource> {
|
||||
private final FileContentUtil fileContentUtil;
|
||||
|
||||
Reference in New Issue
Block a user