Fix PMD UnnecessaryFullyQualifiedName in MapUtils

This commit is contained in:
Gary Gregory 2024-05-22 08:32:52 -04:00
parent 91bc42e7f4
commit 3c7d821562
3 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-parent</artifactId>
<version>69</version>
<version>70</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>commons-collections4</artifactId>

View File

@ -33,6 +33,7 @@
<action type="update" dev="ggregory" due-to="Gary Gregory">Deprecate Transformer in favor of java.util.function.Function.</action>
<action issue="COLLECTIONS-853" type="fix" dev="aherbert" due-to="Claude Warren, Alex Herbert, Gary Gregory">Change LayerManager to use List and added generics to LayerdedBloomFilter #481.</action>
<action type="update" dev="ggregory" due-to="PMD, Gary Gregory">Fix PMD UnnecessaryFullyQualifiedName in CollectionUtils.</action>
<action type="update" dev="ggregory" due-to="PMD, Gary Gregory">Fix PMD UnnecessaryFullyQualifiedName in MapUtils.</action>
<!-- UPDATE -->
<action type="update" dev="ggregory" due-to="Dependabot">Bump org.apache.commons:commons-parent from 67 to 69 #473.</action>
<action type="update" dev="ggregory" due-to="Dependabot">Bump tests commons-io:commons-io from 2.16.0 to 2.16.1 #475.</action>

View File

@ -1217,7 +1217,7 @@ public class MapUtils {
* @since 3.2
*/
public static boolean isNotEmpty(final Map<?, ?> map) {
return !MapUtils.isEmpty(map);
return !isEmpty(map);
}
/**