Remove unused userFactory member variable in ReviewerJson

Change-Id: I4aa14035f2d44668ce14a6423778d6301a391c42
This commit is contained in:
David Pursehouse 2013-02-22 14:56:56 +09:00
parent 062ad0eb86
commit f67e88a401

View File

@ -28,7 +28,6 @@ import com.google.gerrit.reviewdb.client.Account;
import com.google.gerrit.reviewdb.client.PatchSet;
import com.google.gerrit.reviewdb.client.PatchSetApproval;
import com.google.gerrit.reviewdb.server.ReviewDb;
import com.google.gerrit.server.IdentifiedUser;
import com.google.gerrit.server.project.ChangeControl;
import com.google.gerrit.server.query.change.ChangeData;
import com.google.gerrit.server.workflow.CategoryFunction;
@ -43,19 +42,16 @@ import java.util.Map;
public class ReviewerJson {
private final Provider<ReviewDb> db;
private final IdentifiedUser.GenericFactory userFactory;
private final ApprovalTypes approvalTypes;
private final FunctionState.Factory functionState;
private final AccountInfo.Loader.Factory accountLoaderFactory;
@Inject
ReviewerJson(Provider<ReviewDb> db,
IdentifiedUser.GenericFactory userFactory,
ApprovalTypes approvalTypes,
FunctionState.Factory functionState,
AccountInfo.Loader.Factory accountLoaderFactory) {
this.db = db;
this.userFactory = userFactory;
this.approvalTypes = approvalTypes;
this.functionState = functionState;
this.accountLoaderFactory = accountLoaderFactory;