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:

committed by
Gerrit Code Review

parent
17daae9934
commit
0e6a68d843
@@ -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();
|
||||
|
Reference in New Issue
Block a user