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

IteratorUtils.collatedIterator do not use natural ordering if no comparator was provided

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0
    • 4.1
    • None
    • None

    Description

      In case a null comparator was provided natural ordering should be used, as stated in the javadoc.

      In fact an exception is thrown the first time the returned iterator is used.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tn Thomas Neidhart
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: