commit | deb0442c859461e6f30436f4c7e79146ef6d59f6 | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Fri May 06 16:10:46 2016 -0700 |
committer | Sho Shimizu <sho.shimizu@gmail.com> | Wed May 11 14:55:22 2016 +0000 |
tree | 1e030ac97929069bf4043eaaf10f7561be6c195b | |
parent | e75edbfb9708e4915b3eebf13c4badc7719a5d95 [diff] [blame] |
Pull out ContinuousResourceAllocation from ConsistentResourceStore Change-Id: I30eeb84f3e3237aa191d41896b60da8f789ea8ea
diff --git a/core/store/dist/src/main/java/org/onosproject/store/resource/impl/ResourceStoreUtil.java b/core/store/dist/src/main/java/org/onosproject/store/resource/impl/ResourceStoreUtil.java index 3b2c324..55d5c12 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/resource/impl/ResourceStoreUtil.java +++ b/core/store/dist/src/main/java/org/onosproject/store/resource/impl/ResourceStoreUtil.java
@@ -33,7 +33,7 @@ // computational complexity: O(n) where n is the number of allocations static boolean hasEnoughResource(ContinuousResource original, ContinuousResource request, - ConsistentResourceStore.ContinuousResourceAllocation allocation) { + ContinuousResourceAllocation allocation) { if (allocation == null) { return request.value() <= original.value(); }