commit | 2c255db3020ff19c91db18e18b2232c0dea4ba2f | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Tue Dec 09 15:49:15 2014 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu Dec 11 18:41:02 2014 +0000 |
tree | c68b0f8cc59becc3a9135f23991567d10d417c1d | |
parent | 0af11c1ecf406494c219a6ef00576ed41b57aea9 [diff] |
Remove type parameter by using type interence Change-Id: I59868219a34a7280a0df4173ec0b401170f10457
diff --git a/core/api/src/main/java/org/onosproject/net/intent/OpticalPathIntent.java b/core/api/src/main/java/org/onosproject/net/intent/OpticalPathIntent.java index 7006b68..70a0238 100644 --- a/core/api/src/main/java/org/onosproject/net/intent/OpticalPathIntent.java +++ b/core/api/src/main/java/org/onosproject/net/intent/OpticalPathIntent.java
@@ -20,7 +20,6 @@ import org.onosproject.core.ApplicationId; import org.onosproject.net.ConnectPoint; import org.onosproject.net.Link; -import org.onosproject.net.NetworkResource; import org.onosproject.net.Path; import com.google.common.base.MoreObjects; @@ -37,7 +36,7 @@ ConnectPoint src, ConnectPoint dst, Path path) { - super(appId, ImmutableSet.<NetworkResource>copyOf(path.links())); + super(appId, ImmutableSet.copyOf(path.links())); this.src = src; this.dst = dst; this.path = path;