Committed by
Ray Milkey
Remove redundant type arguments
Change-Id: I3f82f2b788b22500689a89bc5253d2f8052a7f8d
Showing
3 changed files
with
3 additions
and
3 deletions
... | @@ -258,7 +258,7 @@ public class DistributedDhcpStore implements DhcpStore { | ... | @@ -258,7 +258,7 @@ public class DistributedDhcpStore implements DhcpStore { |
258 | 258 | ||
259 | @Override | 259 | @Override |
260 | public Iterable<Ip4Address> getAvailableIPs() { | 260 | public Iterable<Ip4Address> getAvailableIPs() { |
261 | - return ImmutableSet.<Ip4Address>copyOf(freeIPPool); | 261 | + return ImmutableSet.copyOf(freeIPPool); |
262 | } | 262 | } |
263 | 263 | ||
264 | @Override | 264 | @Override | ... | ... |
... | @@ -107,7 +107,7 @@ public class IntentMetrics implements IntentMetricsService, | ... | @@ -107,7 +107,7 @@ public class IntentMetrics implements IntentMetricsService, |
107 | @Override | 107 | @Override |
108 | public List<IntentEvent> getEvents() { | 108 | public List<IntentEvent> getEvents() { |
109 | synchronized (lastEvents) { | 109 | synchronized (lastEvents) { |
110 | - return ImmutableList.<IntentEvent>copyOf(lastEvents); | 110 | + return ImmutableList.copyOf(lastEvents); |
111 | } | 111 | } |
112 | } | 112 | } |
113 | 113 | ... | ... |
... | @@ -138,7 +138,7 @@ public class TopologyMetrics implements TopologyMetricsService { | ... | @@ -138,7 +138,7 @@ public class TopologyMetrics implements TopologyMetricsService { |
138 | @Override | 138 | @Override |
139 | public List<Event> getEvents() { | 139 | public List<Event> getEvents() { |
140 | synchronized (lastEvents) { | 140 | synchronized (lastEvents) { |
141 | - return ImmutableList.<Event>copyOf(lastEvents); | 141 | + return ImmutableList.copyOf(lastEvents); |
142 | } | 142 | } |
143 | } | 143 | } |
144 | 144 | ... | ... |
-
Please register or login to post a comment