Sho SHIMIZU
Committed by Gerrit Code Review

Simplify branch condition

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