commit | af92d1277e6299ea6169beb6aff83a05e4b72614 | [log] [tgz] |
---|---|---|
author | Thomas Vachuska <tom@onlab.us> | Tue Nov 04 19:31:56 2014 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Nov 04 19:31:56 2014 -0800 |
tree | 93e305956513ca948ece992393970927966e3cf5 | |
parent | db9eb0724797b2d40ccf419f4dd3982515bd0eb8 [diff] | |
parent | f4dbc72638e14d6378e498c62853661c8e7a2064 [diff] |
Merge "Remove unnecessary type parameter and cast"
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); } }