You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2016/03/07 14:43:40 UTC
[jira] [Commented] (SLING-5589) Remove dependency
commons-collections
[ https://issues.apache.org/jira/browse/SLING-5589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15183003#comment-15183003 ]
Robert Munteanu commented on SLING-5589:
----------------------------------------
What is the reason for removing this dependency? It's not an "exotic" and part of the Sling launchpad.
> Remove dependency commons-collections
> -------------------------------------
>
> Key: SLING-5589
> URL: https://issues.apache.org/jira/browse/SLING-5589
> Project: Sling
> Issue Type: Improvement
> Components: Validation
> Reporter: Oliver Lietz
> Fix For: Validation 1.0.0
>
> Attachments: SLING-5589.patch
>
>
> The only class (interface) used from commons-collections is [{{org.apache.commons.collections.Predicate}}|http://commons.apache.org/proper/commons-collections/javadocs/api-3.2.2/org/apache/commons/collections/Predicate.html].
> We should use [{{java.util.function.Predicate}}|https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html] (which requires Java 8) or provide our own interface.
> [~cziegeler], [~kwin]: WDYT?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)