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);
     }
 
 }