ReviewerJson: actually use passed-in approvals

Change-Id: Ib2d6293829000023db57809ae1ebc7a1d99b542c
This commit is contained in:
Dave Borowitz
2014-02-03 15:52:39 -08:00
parent 9760cdc2b2
commit da48b9de23
2 changed files with 11 additions and 12 deletions

View File

@@ -241,7 +241,6 @@ public class PostReviewers implements RestModifyView<ChangeResource, AddReviewer
for (PatchSetApproval psa : added) {
result.reviewers.add(json.format(
new ReviewerInfo(psa.getAccountId()),
rsrc.getNotes(),
reviewers.get(psa.getAccountId()),
ImmutableList.of(psa)));
}