commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik (JIRA)" <>
Subject [jira] [Created] (COLLECTIONS-522) Documentation example does not compile
Date Thu, 01 May 2014 23:02:19 GMT
Erik created COLLECTIONS-522:

             Summary: Documentation example does not compile
                 Key: COLLECTIONS-522
             Project: Commons Collections
          Issue Type: Improvement
          Components: List
    Affects Versions: 4.0
            Reporter: Erik
            Priority: Trivial

There is an example in the javadoc of PredicatedList which doesn't compile:

// 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

View raw message