All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.pmd.rules.pmd.UseCollectionIsEmpty.html Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
The isEmpty() method on java.util.Collection is provided to see if a collection has any elements. Comparing the value of size() to 0 merely duplicates existing behavior.

This rule is deprecated, use {rule:java:S1155} instead.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy