Cache instances of type InternalGroup instead of AccountGroup by UUID
Change-Id: Id4725960eb155945f0344a56e7f36d5f4293750d
This commit is contained in:
@@ -199,6 +199,6 @@ public class LuceneGroupIndex extends AbstractLuceneIndex<AccountGroup.UUID, Int
|
||||
AccountGroup.UUID uuid = new AccountGroup.UUID(doc.getField(UUID.getName()).stringValue());
|
||||
// Use the GroupCache rather than depending on any stored fields in the
|
||||
// document (of which there shouldn't be any).
|
||||
return groupCache.get().getInternalGroup(uuid);
|
||||
return groupCache.get().get(uuid);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user