Merge "AbstractQueryAccountsTest: Avoid usage of FluentIterable.of(E[])"

This commit is contained in:
ekempin
2016-10-24 14:45:13 +00:00
committed by Gerrit Code Review

View File

@@ -475,7 +475,7 @@ public abstract class AbstractQueryAccountsTest extends GerritServerTests {
}
protected static Iterable<Integer> ids(AccountInfo... accounts) {
return FluentIterable.of(accounts).transform(a -> a._accountId);
return ids(Arrays.asList(accounts));
}
protected static Iterable<Integer> ids(Iterable<AccountInfo> accounts) {