commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary D. Gregory (Jira)" <j...@apache.org>
Subject [jira] [Commented] (BEANUTILS-527) Convert from Collections4 to java.util.function #8
Date Sun, 20 Oct 2019 23:12:00 GMT

    [ https://issues.apache.org/jira/browse/BEANUTILS-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16955651#comment-16955651
] 

Gary D. Gregory commented on BEANUTILS-527:
-------------------------------------------

I am looking to remove the last dependency on Apache Commons Collections 4 on {{org.apache.commons.collections4.comparators.ComparableComparator}}.
Any suggestions? All other dependencies now use Java's {{java.util.functions}} functional
interfaces.


> Convert from Collections4 to java.util.function #8
> --------------------------------------------------
>
>                 Key: BEANUTILS-527
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-527
>             Project: Commons BeanUtils
>          Issue Type: New Feature
>            Reporter: Gary D. Gregory
>            Priority: Major
>
> Convert from Collections4 to java.util.function #8
> Implement {{java.util.function.Predicate<T>}} instead of {{org.apache.commons.collections4.Predicate}}:
>  * {{org.apache.commons.beanutils2.BeanPropertyValueEqualsPredicateTestCase}}
>  * {{org.apache.commons.beanutils2.BeanPredicate}}
> Implement {{java.util.function.Consumer<T>}} instead of {{org.apache.commons.collections4.Closure}}:
>  * {{org.apache.commons.beanutils2.BeanPropertyValueChangeClosure}} renamed to {{BeanPropertyValueChangeConsumer}}
> {{org.apache.commons.beanutils2.BeanMap.Entry}} extends {{java.util.AbstractMap.SimpleEntry<K,
V>}} instead of {{org.apache.commons.collections4.keyvalue.AbstractMapEntry}}.
> {{org.apache.commons.beanutils2.BeanToPropertyValueTransformer}} implements {{java.util.function.Function}}
instead of {{org.apache.commons.collections4.Transformer}}.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message