mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-21 04:12:23 +02:00
Remove type parameter by using type interence
Change-Id: I59868219a34a7280a0df4173ec0b401170f10457
This commit is contained in:
parent
0af11c1ecf
commit
2c255db302
@ -20,7 +20,6 @@ import java.util.Collection;
|
|||||||
import org.onosproject.core.ApplicationId;
|
import org.onosproject.core.ApplicationId;
|
||||||
import org.onosproject.net.ConnectPoint;
|
import org.onosproject.net.ConnectPoint;
|
||||||
import org.onosproject.net.Link;
|
import org.onosproject.net.Link;
|
||||||
import org.onosproject.net.NetworkResource;
|
|
||||||
import org.onosproject.net.Path;
|
import org.onosproject.net.Path;
|
||||||
|
|
||||||
import com.google.common.base.MoreObjects;
|
import com.google.common.base.MoreObjects;
|
||||||
@ -37,7 +36,7 @@ public class OpticalPathIntent extends Intent {
|
|||||||
ConnectPoint src,
|
ConnectPoint src,
|
||||||
ConnectPoint dst,
|
ConnectPoint dst,
|
||||||
Path path) {
|
Path path) {
|
||||||
super(appId, ImmutableSet.<NetworkResource>copyOf(path.links()));
|
super(appId, ImmutableSet.copyOf(path.links()));
|
||||||
this.src = src;
|
this.src = src;
|
||||||
this.dst = dst;
|
this.dst = dst;
|
||||||
this.path = path;
|
this.path = path;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user