You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2019/10/20 23:12:00 UTC

[jira] [Commented] (BEANUTILS-527) Convert from Collections4 to java.util.function #8

    [ 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)