Convert AccountGroup.NameKey to AutoValue

See I6982fb24 for context.

Change-Id: I7a312c4aee94c8e2ebd7c2542c760ce54f190f04
This commit is contained in:
Dave Borowitz
2019-04-17 13:13:19 -07:00
parent 07b6021479
commit 390e4c650b
25 changed files with 106 additions and 132 deletions

View File

@@ -163,7 +163,7 @@ public class GroupsNoteDbConsistencyChecker {
continue;
}
ObjectId nameKey = GroupNameNotes.getNoteKey(new AccountGroup.NameKey(gRef.getName()));
ObjectId nameKey = GroupNameNotes.getNoteKey(AccountGroup.nameKey(gRef.getName()));
if (!Objects.equals(nameKey, note)) {
result.problems.add(
error("notename entry %s does not match name %s", note, gRef.getName()));