mirror of
https://github.com/google/nomulus
synced 2026-07-23 08:22:27 +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:
@@ -62,7 +62,7 @@ public class RemoveIpAddressCommand extends MutatingEppToolCommand {
|
||||
continue;
|
||||
}
|
||||
|
||||
ArrayList<SoyMapData> ipAddresses = new ArrayList<SoyMapData>();
|
||||
ArrayList<SoyMapData> ipAddresses = new ArrayList<>();
|
||||
for (InetAddress address : host.getInetAddresses()) {
|
||||
SoyMapData dataMap = new SoyMapData(
|
||||
"address", address.getHostAddress(),
|
||||
|
||||
Reference in New Issue
Block a user