Fix untyped Map in SuggestServiceImpl
Change-Id: Icf41f757e12822f4bfdbe41028fdee4d3436d263 Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
parent
528c3de81f
commit
41e8bab1e2
|
@ -111,8 +111,8 @@ class SuggestServiceImpl extends BaseServiceImplementation implements
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addSuggestion(Map map, Account account, AccountInfo info,
|
private void addSuggestion(Map<Account.Id, AccountInfo> map, Account account,
|
||||||
Boolean active) {
|
AccountInfo info, Boolean active) {
|
||||||
if (active == null || active == account.isActive()) {
|
if (active == null || active == account.isActive()) {
|
||||||
map.put(account.getId(), info);
|
map.put(account.getId(), info);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue