Use Collections.isEmpty() instead of .size() == 0
Ensure that Collections.isEmpty() is used to check if there are no elements in a collections. This is more explicit and can be faster than calling .size(). Closes gh-4783pull/4783/merge
parent
6113643cbe
commit
786aacf2e9
Loading…
Reference in New Issue