diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 97382084a..a554ef0b2 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -34,6 +34,7 @@ Change LayerManager to use List and added generics to LayerdedBloomFilter #481. Fix PMD UnnecessaryFullyQualifiedName in CollectionUtils. Fix PMD UnnecessaryFullyQualifiedName in MapUtils. + Fix PMD UnnecessaryFullyQualifiedName in PredicateUtils. Bump org.apache.commons:commons-parent from 67 to 69 #473. Bump tests commons-io:commons-io from 2.16.0 to 2.16.1 #475. diff --git a/src/main/java/org/apache/commons/collections4/PredicateUtils.java b/src/main/java/org/apache/commons/collections4/PredicateUtils.java index 4cb824932..8869fa1cb 100644 --- a/src/main/java/org/apache/commons/collections4/PredicateUtils.java +++ b/src/main/java/org/apache/commons/collections4/PredicateUtils.java @@ -179,7 +179,7 @@ public class PredicateUtils { public static Predicate eitherPredicate(final Predicate predicate1, final Predicate predicate2) { @SuppressWarnings("unchecked") - final Predicate onePredicate = PredicateUtils.onePredicate(predicate1, predicate2); + final Predicate onePredicate = onePredicate(predicate1, predicate2); return onePredicate; } @@ -252,7 +252,7 @@ public class PredicateUtils { * and have no parameters. If the input object is null, a * PredicateException is thrown. *

- * For example, {@code PredicateUtils.invokerPredicate("isEmpty");} + * For ePredicateUtils.invokerPredicate("isEmpty");} * will call the {@code isEmpty} method on the input object to * determine the predicate result. * @@ -308,7 +308,7 @@ public class PredicateUtils { public static Predicate neitherPredicate(final Predicate predicate1, final Predicate predicate2) { @SuppressWarnings("unchecked") - final Predicate nonePredicate = PredicateUtils.nonePredicate(predicate1, predicate2); + final Predicate nonePredicate = nonePredicate(predicate1, predicate2); return nonePredicate; }