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;