Create default contstructor for serialization
Change-Id: Id21367b5fab38946f88dfee1a58d97eee0c0a0fc
Showing
1 changed file
with
6 additions
and
0 deletions
| ... | @@ -40,6 +40,12 @@ final class ContinuousResourceAllocation { | ... | @@ -40,6 +40,12 @@ final class ContinuousResourceAllocation { |
| 40 | this.allocations = allocations; | 40 | this.allocations = allocations; |
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | + // for serializer | ||
| 44 | + private ContinuousResourceAllocation() { | ||
| 45 | + this.original = null; | ||
| 46 | + this.allocations = null; | ||
| 47 | + } | ||
| 48 | + | ||
| 43 | /** | 49 | /** |
| 44 | * Checks if there is enough resource volume to allocated the requested resource | 50 | * Checks if there is enough resource volume to allocated the requested resource |
| 45 | * against the specified resource. | 51 | * against the specified resource. | ... | ... |
-
Please register or login to post a comment