ExternalIdCache: Add method to get external IDs by account ID + scheme
Change-Id: I800c41923facbfe9194ce47716ed2d23d0ffd70a Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -210,8 +210,8 @@ public class GpgKeys implements
|
||||
@VisibleForTesting
|
||||
public static FluentIterable<AccountExternalId> getGpgExtIds(
|
||||
ExternalIdCache externalIdCache, Account.Id accountId) {
|
||||
return FluentIterable.from(externalIdCache.byAccount(accountId))
|
||||
.filter(in -> in.isScheme(SCHEME_GPGKEY));
|
||||
return FluentIterable.from(
|
||||
externalIdCache.byAccount(accountId, SCHEME_GPGKEY));
|
||||
}
|
||||
|
||||
private Iterable<AccountExternalId> getGpgExtIds(AccountResource rsrc) {
|
||||
|
||||
Reference in New Issue
Block a user