Sho SHIMIZU
Committed by Ray Milkey

Remove redundant type arguments

Change-Id: I3f82f2b788b22500689a89bc5253d2f8052a7f8d
......@@ -258,7 +258,7 @@ public class DistributedDhcpStore implements DhcpStore {
@Override
public Iterable<Ip4Address> getAvailableIPs() {
return ImmutableSet.<Ip4Address>copyOf(freeIPPool);
return ImmutableSet.copyOf(freeIPPool);
}
@Override
......
......@@ -107,7 +107,7 @@ public class IntentMetrics implements IntentMetricsService,
@Override
public List<IntentEvent> getEvents() {
synchronized (lastEvents) {
return ImmutableList.<IntentEvent>copyOf(lastEvents);
return ImmutableList.copyOf(lastEvents);
}
}
......
......@@ -138,7 +138,7 @@ public class TopologyMetrics implements TopologyMetricsService {
@Override
public List<Event> getEvents() {
synchronized (lastEvents) {
return ImmutableList.<Event>copyOf(lastEvents);
return ImmutableList.copyOf(lastEvents);
}
}
......