commit | 35e6449a517691a880c94e7467bc07360f8e6666 | [log] [tgz] |
---|---|---|
author | Patrick Hiesel <hiesel@google.com> | Wed Jun 02 11:59:39 2021 +0200 |
committer | Patrick Hiesel <hiesel@google.com> | Fri Jun 04 15:22:16 2021 +0200 |
tree | 366e84b2d717a03dbfc1f47b196f3a19b88aa514 | |
parent | 8074b2c179d31829a88c15406df51d53656f8541 [diff] |
Adapt to changes in Gerrit core Depends-On: https://gerrit-review.googlesource.com/c/gerrit/+/308307 Change-Id: Ifdd7d65eef52a0cd8be540971e10863b8ecc4e40
diff --git a/src/main/java/com/googlesource/gerrit/plugins/reviewnotes/CreateReviewNotes.java b/src/main/java/com/googlesource/gerrit/plugins/reviewnotes/CreateReviewNotes.java index 686a2c7..cae071a 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/reviewnotes/CreateReviewNotes.java +++ b/src/main/java/com/googlesource/gerrit/plugins/reviewnotes/CreateReviewNotes.java
@@ -258,7 +258,7 @@ // commit time so we will be able to skip this normalization step. Change change = notes.getChange(); PatchSetApproval submit = null; - for (PatchSetApproval a : approvalsUtil.byPatchSet(notes, ps.id(), null, null)) { + for (PatchSetApproval a : approvalsUtil.byPatchSet(notes, ps.id())) { if (a.value() == 0) { // Ignore 0 values. } else if (a.isLegacySubmit()) {