Committed by
Gerrit Code Review
Remove type parameter by using type interence
Change-Id: I59868219a34a7280a0df4173ec0b401170f10457
Showing
1 changed file
with
1 additions
and
2 deletions
| ... | @@ -20,7 +20,6 @@ import java.util.Collection; | ... | @@ -20,7 +20,6 @@ import java.util.Collection; |
| 20 | import org.onosproject.core.ApplicationId; | 20 | import org.onosproject.core.ApplicationId; |
| 21 | import org.onosproject.net.ConnectPoint; | 21 | import org.onosproject.net.ConnectPoint; |
| 22 | import org.onosproject.net.Link; | 22 | import org.onosproject.net.Link; |
| 23 | -import org.onosproject.net.NetworkResource; | ||
| 24 | import org.onosproject.net.Path; | 23 | import org.onosproject.net.Path; |
| 25 | 24 | ||
| 26 | import com.google.common.base.MoreObjects; | 25 | import com.google.common.base.MoreObjects; |
| ... | @@ -37,7 +36,7 @@ public class OpticalPathIntent extends Intent { | ... | @@ -37,7 +36,7 @@ public class OpticalPathIntent extends Intent { |
| 37 | ConnectPoint src, | 36 | ConnectPoint src, |
| 38 | ConnectPoint dst, | 37 | ConnectPoint dst, |
| 39 | Path path) { | 38 | Path path) { |
| 40 | - super(appId, ImmutableSet.<NetworkResource>copyOf(path.links())); | 39 | + super(appId, ImmutableSet.copyOf(path.links())); |
| 41 | this.src = src; | 40 | this.src = src; |
| 42 | this.dst = dst; | 41 | this.dst = dst; |
| 43 | this.path = path; | 42 | this.path = path; | ... | ... |
-
Please register or login to post a comment