Sho SHIMIZU
Committed by Sho Shimizu

Remove argument which is not necessarily passed

Change-Id: I87ded889afbb2be2693166de0eb3104a24c82084
......@@ -68,7 +68,7 @@ final class ContinuousResourceAllocation {
return allocations;
}
ContinuousResourceAllocation allocate(ContinuousResource original, ResourceAllocation value) {
ContinuousResourceAllocation allocate(ResourceAllocation value) {
return new ContinuousResourceAllocation(original, ImmutableList.<ResourceAllocation>builder()
.addAll(allocations)
.add(value)
......
......@@ -157,7 +157,7 @@ class TransactionalContinuousResourceSubStore {
return true;
}
ContinuousResourceAllocation newValue = oldValue.allocate(original, value);
ContinuousResourceAllocation newValue = oldValue.allocate(value);
return consumers.replace(original.id(), oldValue, newValue);
}
......