You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2014/05/06 23:00:18 UTC
[jira] [Comment Edited] (COLLECTIONS-522) Documentation example
does not compile
[ https://issues.apache.org/jira/browse/COLLECTIONS-522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13991120#comment-13991120 ]
Thomas Neidhart edited comment on COLLECTIONS-522 at 5/6/14 8:58 PM:
---------------------------------------------------------------------
Fixed in r1592882.
Thanks for the report!
was (Author: tn):
Fixed in r1592882.
> Documentation example does not compile
> --------------------------------------
>
> Key: COLLECTIONS-522
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-522
> Project: Commons Collections
> Issue Type: Improvement
> Components: List
> Affects Versions: 4.0
> Reporter: Erik
> Priority: Trivial
> Fix For: 4.1
>
>
> There is an example in the javadoc of PredicatedList which doesn't compile:
> // PredicatedList.java line 36 in the commons-collections4-4.0
> List list = PredicatedList.decorate(new ArrayList(), NotNullPredicate.INSTANCE);
> // The method decorate does not exist, I presume it has been renamed to:
> List list = PredicatedList.predicatedList(new ArrayList(), NotNullPredicate.INSTANCE);
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)