From 2c255db3020ff19c91db18e18b2232c0dea4ba2f Mon Sep 17 00:00:00 2001 From: Sho SHIMIZU Date: Tue, 9 Dec 2014 15:49:15 -0800 Subject: [PATCH] Remove type parameter by using type interence Change-Id: I59868219a34a7280a0df4173ec0b401170f10457 --- .../java/org/onosproject/net/intent/OpticalPathIntent.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 7006b6841e..70a02383ad 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 java.util.Collection; 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 @@ public class OpticalPathIntent extends Intent { ConnectPoint src, ConnectPoint dst, Path path) { - super(appId, ImmutableSet.copyOf(path.links())); + super(appId, ImmutableSet.copyOf(path.links())); this.src = src; this.dst = dst; this.path = path;