ChangeNotes: Don't @Inject constructor
This is always constructed through a manual factory, and there is no way @Injecting a Change would work. Change-Id: I12c346d9c1ce40c3b713ab34dde649dd71b8e30d
This commit is contained in:
@@ -139,7 +139,6 @@ public class ChangeNotes extends AbstractChangeNotes<ChangeNotes> {
|
||||
private final AllUsersName allUsers;
|
||||
private DraftCommentNotes draftCommentNotes;
|
||||
|
||||
@Inject
|
||||
@VisibleForTesting
|
||||
public ChangeNotes(GitRepositoryManager repoManager,
|
||||
AllUsersNameProvider allUsersProvider, Change change) {
|
||||
|
||||
Reference in New Issue
Block a user