DeleteReviewer: Fix incorrect filter function

Change-Id: I410b814e6e1224e236e0c069fbb34a272c8aa154
This commit is contained in:
Dave Borowitz 2016-09-21 05:15:39 -04:00
parent b7f970bf12
commit c1e78eda69
1 changed files with 2 additions and 1 deletions

View File

@ -228,7 +228,8 @@ public class DeleteReviewer
approvalsUtil.byChange(ctx.getDb(), ctx.getNotes()).values();
}
return Iterables.filter(approvals, accountId::equals);
return Iterables.filter(
approvals, psa -> accountId.equals(psa.getAccountId()));
}
private String formatLabelValue(short value) {