commit | 10dd13408ac80985fabd1b90da81887fa0472c58 | [log] [tgz] |
---|---|---|
author | Patrick Hiesel <hiesel@google.com> | Wed Aug 07 15:24:04 2019 +0200 |
committer | Patrick Hiesel <hiesel@google.com> | Wed Aug 07 15:24:04 2019 +0200 |
tree | 7d5d2bc6ed8e9fac5160b26622c0781d58b44873 | |
parent | 3667220b860d444406ca5fa5cc27d87858642596 [diff] |
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()); }