Sho SHIMIZU

Simplify if-statement

Change-Id: Ifa3dbc6f4bbace1db4d2998a9c8de0cc2c404ab4
......@@ -146,12 +146,7 @@ class TransactionalContinuousResourceStore {
return false;
}
boolean success = appendValue(original, new ResourceAllocation(request, consumer));
if (!success) {
return false;
}
return true;
return appendValue(original, new ResourceAllocation(request, consumer));
}
// Appends the specified ResourceAllocation to the existing values stored in the map
......