1
0
mirror of https://github.com/google/nomulus synced 2026-01-10 16:00:52 +00:00

Remove unnecessary explicit generic type declarations

They can be inferred correctly even in Java 7, and display as
compiler warnings in IntelliJ.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=173451087
This commit is contained in:
mcilwain
2017-10-25 14:35:29 -07:00
committed by jianglai
parent 0fdc189e9c
commit eed2e0c45f
20 changed files with 37 additions and 46 deletions

View File

@@ -62,7 +62,7 @@ public class MetricReporter extends AbstractScheduledService {
writeInterval,
threadFactory,
MetricRegistryImpl.getDefault(),
new ArrayBlockingQueue<Optional<ImmutableList<MetricPoint<?>>>>(1000));
new ArrayBlockingQueue<>(1000));
}
@VisibleForTesting