This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git
The following commit(s) were added to refs/heads/master by this push:
new 206c376 [BEANUTILS-527] Convert from Collections4 to
java.util.function #8.
206c376 is described below
commit 206c3768ca0ef710e995c3a1030712d3cbf0e96d
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Oct 20 17:36:01 2019 -0400
[BEANUTILS-527] Convert from Collections4 to java.util.function #8.
Drop old API for 2.0.
---
.../java/org/apache/commons/beanutils2/BeanPredicate.java | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/src/main/java/org/apache/commons/beanutils2/BeanPredicate.java
b/src/main/java/org/apache/commons/beanutils2/BeanPredicate.java
index 9246959..335d208 100644
--- a/src/main/java/org/apache/commons/beanutils2/BeanPredicate.java
+++ b/src/main/java/org/apache/commons/beanutils2/BeanPredicate.java
@@ -59,18 +59,6 @@ public class BeanPredicate implements Predicate<Object> {
* @return the result of the predicate evaluation
* @throws IllegalArgumentException when the property cannot be evaluated
*/
- public boolean evaluate(Object object) {
- return test(object);
- }
-
- /**
- * Evaluates the given object by applying the {@link #getPredicate()}
- * to a property value named by {@link #getPropertyName()}.
- *
- * @param object The object being evaluated
- * @return the result of the predicate evaluation
- * @throws IllegalArgumentException when the property cannot be evaluated
- */
@Override
public boolean test(Object object) {
boolean evaluation = false;