Sho SHIMIZU
Committed by Gerrit Code Review

Simplify branch condition

Change-Id: Ib2fe28d74ea520032415a05df809a66a7f33c6e2
......@@ -86,7 +86,7 @@ final class ContinuousResourceAllocation {
((ContinuousResource) x.resource()).value() == resource.value()))
.collect(Collectors.toList());
if (matched.size() > 0) {
if (!matched.isEmpty()) {
matched.remove(0);
}
......