Thomas Vachuska
Committed by Gerrit Code Review

Merge "Remove unnecessary type parameter and cast"

...@@ -134,7 +134,7 @@ public abstract class ConnectivityIntent extends Intent { ...@@ -134,7 +134,7 @@ public abstract class ConnectivityIntent extends Intent {
134 * @return collection of link resources 134 * @return collection of link resources
135 */ 135 */
136 protected static Collection<NetworkResource> resources(Collection<Link> links) { 136 protected static Collection<NetworkResource> resources(Collection<Link> links) {
137 - return ImmutableSet.<NetworkResource>copyOf((Iterable<? extends NetworkResource>) links); 137 + return ImmutableSet.copyOf(links);
138 } 138 }
139 139
140 } 140 }
......