commit | 763be9211809ff24c2334ba6120e281827c6f32c | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Thu Jan 28 09:22:10 2016 -0800 |
committer | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Thu Jan 28 09:41:54 2016 -0800 |
tree | 605afa1e1de621670c2f08bd5356158edbf51f05 | |
parent | 51539b85d3107c79601129f48041dc72f118e003 [diff] |
Avoid using fully qualified name Change-Id: I273ccfe4bded393ec17128f485842c458cbffac4
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/OpticalConnectivityIntentCompiler.java b/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/OpticalConnectivityIntentCompiler.java index 3becdb8..690f3c2 100644 --- a/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/OpticalConnectivityIntentCompiler.java +++ b/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/OpticalConnectivityIntentCompiler.java
@@ -111,8 +111,7 @@ // Reserve OCh ports Resource srcPortResource = Resource.discrete(src.deviceId(), src.port()).resource(); Resource dstPortResource = Resource.discrete(dst.deviceId(), dst.port()).resource(); - List<org.onosproject.net.newresource.ResourceAllocation> allocation = - resourceService.allocate(intent.id(), srcPortResource, dstPortResource); + List<ResourceAllocation> allocation = resourceService.allocate(intent.id(), srcPortResource, dstPortResource); if (allocation.isEmpty()) { throw new IntentCompilationException("Unable to reserve ports for intent " + intent); }