mirror of
https://github.com/google/nomulus
synced 2026-09-25 17:34:20 +00:00
Always use the constructor to make Immutable Collection Builders
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135359669
This commit is contained in:
@@ -64,7 +64,7 @@ public class EppResourceIndexTest extends EntityTestCase {
|
||||
*/
|
||||
private ImmutableList<EppResourceIndex> getEppResourceIndexObjects() {
|
||||
int numBuckets = RegistryEnvironment.get().config().getEppResourceIndexBucketCount();
|
||||
ImmutableList.Builder<EppResourceIndex> indexEntities = ImmutableList.builder();
|
||||
ImmutableList.Builder<EppResourceIndex> indexEntities = new ImmutableList.Builder<>();
|
||||
for (int i = 0; i < numBuckets; i++) {
|
||||
indexEntities.addAll(ofy().load()
|
||||
.type(EppResourceIndex.class)
|
||||
|
||||
Reference in New Issue
Block a user