mirror of
https://github.com/google/nomulus.git
synced 2025-08-29 04:23:15 +02:00
Remove unnecessary type specifications
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179585680
This commit is contained in:
parent
f1ae66d148
commit
ed0670b614
52 changed files with 193 additions and 221 deletions
|
@ -143,7 +143,7 @@ public class RegistryTest extends EntityTestCase {
|
|||
.asBuilder().setReservedLists(ImmutableSet.of(rl5, rl6)).build();
|
||||
assertThat(r.getReservedLists().stream().map(Key::getName).collect(toImmutableList()))
|
||||
.containsExactly("tld-reserved5", "tld-reserved6");
|
||||
r = Registry.get("tld").asBuilder().setReservedLists(ImmutableSet.<ReservedList> of()).build();
|
||||
r = Registry.get("tld").asBuilder().setReservedLists(ImmutableSet.of()).build();
|
||||
assertThat(r.getReservedLists()).isEmpty();
|
||||
}
|
||||
|
||||
|
@ -164,7 +164,7 @@ public class RegistryTest extends EntityTestCase {
|
|||
.build();
|
||||
assertThat(r.getReservedLists().stream().map(Key::getName).collect(toImmutableList()))
|
||||
.containsExactly("tld-reserved24", "tld-reserved25");
|
||||
r = Registry.get("tld").asBuilder().setReservedListsByName(ImmutableSet.<String> of()).build();
|
||||
r = Registry.get("tld").asBuilder().setReservedListsByName(ImmutableSet.of()).build();
|
||||
assertThat(r.getReservedLists()).isEmpty();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue