Remove unused member variable in ReceiveCommits

The Gerrit server config passed into the constructor is only used
in the constructor, and the member variable it initialises is not
used anywhere else.

Remove the unused member variable.

Change-Id: I1537ecab86c5404f38119a3eaf9e4e244131a6ee
This commit is contained in:
David Pursehouse
2013-02-17 21:55:31 +09:00
committed by Gerrit Code Review
parent 17daae9934
commit 0e6a68d843

View File

@@ -252,7 +252,6 @@ public class ReceiveCommits {
private final RequestScopePropagator requestScopePropagator;
private final SshInfo sshInfo;
private final AllProjectsName allProjectsName;
private final Config config;
private final ProjectControl projectControl;
private final Project project;
@@ -335,7 +334,6 @@ public class ReceiveCommits {
this.requestScopePropagator = requestScopePropagator;
this.sshInfo = sshInfo;
this.allProjectsName = allProjectsName;
this.config = config;
this.projectControl = projectControl;
this.project = projectControl.getProject();