commit | f4dbc72638e14d6378e498c62853661c8e7a2064 | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Tue Nov 04 18:49:02 2014 -0800 |
committer | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Tue Nov 04 18:56:55 2014 -0800 |
tree | 4eb8a5bda98cb76d741260e47d7e825dc98d0d2d | |
parent | 0a5c9c46229a027726ccff985dbf6d75e40bd42c [diff] |
Remove unnecessary type parameter and cast Change-Id: Id3d395a614f94029bc565b2f317b284210cd96cd
diff --git a/core/api/src/main/java/org/onlab/onos/net/intent/ConnectivityIntent.java b/core/api/src/main/java/org/onlab/onos/net/intent/ConnectivityIntent.java index 6f1f71e..2269aa0 100644 --- a/core/api/src/main/java/org/onlab/onos/net/intent/ConnectivityIntent.java +++ b/core/api/src/main/java/org/onlab/onos/net/intent/ConnectivityIntent.java
@@ -134,7 +134,7 @@ * @return collection of link resources */ protected static Collection<NetworkResource> resources(Collection<Link> links) { - return ImmutableSet.<NetworkResource>copyOf((Iterable<? extends NetworkResource>) links); + return ImmutableSet.copyOf(links); } }