Uploaded image for project: 'Commons Collections'
  1. Commons Collections
  2. COLLECTIONS-522

Documentation example does not compile

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 4.0
    • 4.1
    • List
    • None

    Description

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            koekoekie Erik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: