[Minor] Minor use .isEmpty() in ObjectFilter
This commit is contained in:
parent
634c51a371
commit
fe7bc45ca2
|
@ -840,7 +840,7 @@ public class ObjectFilter {
|
|||
* @return true if the cache is empty, false otherwise
|
||||
*/
|
||||
public boolean isEmpty() {
|
||||
return this.cache.size() == 0;
|
||||
return this.cache.isEmpty();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue