commit | 8fb4ad74339f679f61bf3e8de13e6e07bcfedd5d | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Fri May 13 15:53:44 2016 -0700 |
committer | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Fri May 13 15:53:44 2016 -0700 |
tree | 0d55e33c67c332b304b07278bcec2cbeadc32f09 | |
parent | 38bcfcfd35d7a77bcf18159edb8f800d773f3c41 [diff] |
Create default contstructor for serialization Change-Id: Id21367b5fab38946f88dfee1a58d97eee0c0a0fc
diff --git a/core/store/dist/src/main/java/org/onosproject/store/resource/impl/ContinuousResourceAllocation.java b/core/store/dist/src/main/java/org/onosproject/store/resource/impl/ContinuousResourceAllocation.java index f9e22dd..b7c988d 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/resource/impl/ContinuousResourceAllocation.java +++ b/core/store/dist/src/main/java/org/onosproject/store/resource/impl/ContinuousResourceAllocation.java
@@ -40,6 +40,12 @@ this.allocations = allocations; } + // for serializer + private ContinuousResourceAllocation() { + this.original = null; + this.allocations = null; + } + /** * Checks if there is enough resource volume to allocated the requested resource * against the specified resource.