mirror of
https://github.com/google/nomulus.git
synced 2025-07-04 10:13:30 +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
|
@ -70,7 +70,7 @@ public class EppMetricTest {
|
|||
public void test_zeroTlds_areRecordedAsAbsent() throws Exception {
|
||||
EppMetric metric =
|
||||
EppMetric.builderForRequest("request-id-1", new FakeClock())
|
||||
.setTlds(ImmutableSet.<String>of())
|
||||
.setTlds(ImmutableSet.of())
|
||||
.build();
|
||||
assertThat(metric.getTld()).isEmpty();
|
||||
}
|
||||
|
|
|
@ -104,7 +104,7 @@ public class MetricsExportActionTest {
|
|||
@Test
|
||||
public void testSuccess_emptyErrors() throws Exception {
|
||||
when(insertAll.execute()).thenReturn(response);
|
||||
response.setInsertErrors(ImmutableList.<InsertErrors>of());
|
||||
response.setInsertErrors(ImmutableList.of());
|
||||
action.run();
|
||||
verify(insertAll).execute();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue