[Minor] Minor use .isEmpty() in ObjectFilter

This commit is contained in:
Robert von Burg 2023-04-05 21:07:45 +02:00
parent 634c51a371
commit fe7bc45ca2
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}
/**