Remove unused code identified by Eclipse after refactorings
Change-Id: I12b44e24ef4cbaaec625b486a5102971a2e55fd7
This commit is contained in:
@@ -109,7 +109,6 @@ public class ApprovalsUtil {
|
||||
|
||||
private final NotesMigration migration;
|
||||
private final IdentifiedUser.GenericFactory userFactory;
|
||||
private final ChangeControl.GenericFactory changeControlFactory;
|
||||
private final ApprovalCopier copier;
|
||||
private final PermissionBackend permissionBackend;
|
||||
|
||||
@@ -118,12 +117,10 @@ public class ApprovalsUtil {
|
||||
public ApprovalsUtil(
|
||||
NotesMigration migration,
|
||||
IdentifiedUser.GenericFactory userFactory,
|
||||
ChangeControl.GenericFactory changeControlFactory,
|
||||
ApprovalCopier copier,
|
||||
PermissionBackend permissionBackend) {
|
||||
this.migration = migration;
|
||||
this.userFactory = userFactory;
|
||||
this.changeControlFactory = changeControlFactory;
|
||||
this.copier = copier;
|
||||
this.permissionBackend = permissionBackend;
|
||||
}
|
||||
|
||||
@@ -339,7 +339,7 @@ public class PostReviewers
|
||||
ReviewerState state,
|
||||
NotifyHandling notify,
|
||||
ListMultimap<RecipientType, Account.Id> accountsToNotify)
|
||||
throws OrmException, PermissionBackendException {
|
||||
throws PermissionBackendException {
|
||||
if (!permissionBackend
|
||||
.user(anonymousProvider)
|
||||
.change(rsrc.getNotes())
|
||||
|
||||
Reference in New Issue
Block a user