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:
Dave Borowitz
2014-09-08 17:45:05 +02:00
parent b966745845
commit 523807681d

View File

@@ -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) {