Adapt to AccountState being an AutoValue Change-Id: Ia73958069ce220154d581d630f8dfaa7bdc1f4e3
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 9faf80e..507e6bc 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/reviewnotes/CreateReviewNotes.java +++ b/src/main/java/com/googlesource/gerrit/plugins/reviewnotes/CreateReviewNotes.java
@@ -267,13 +267,13 @@ type, a.value(), a.accountId(), - accountCache.get(a.accountId()).map(AccountState::getAccount)); + accountCache.get(a.accountId()).map(AccountState::account)); } } } if (submit != null) { fmt.appendSubmittedBy( - submit.accountId(), accountCache.get(submit.accountId()).map(AccountState::getAccount)); + submit.accountId(), accountCache.get(submit.accountId()).map(AccountState::account)); fmt.appendSubmittedAt(submit.granted()); }