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

SetUniqueList.createSetBasedOnList doesn't add list elements to return value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.3, 4.4
    • 4.5.0-M1
    • List

    Description

      SetUniqueList.createSetBasedOnList doesn't add list elements to the return value any more. The documentation says it does, and it used to up to version 4.2, but a call to `addAll` was accidentally deleted. I found where the mistake was introduced on github:

      https://github.com/apache/commons-collections/commit/b1c45ac691d46a8c609f2534d2adfa59c0599527#diff-8e53271d5d8299a76d43b0e3c81740fbe660083ae71c5bf2be63846d52156f23L344

      Attachments

        Activity

          People

            kinow Bruno P. Kinoshita
            owen-mc Owen Mansel-Chan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Time Spent - 50m Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - 50m Remaining Estimate - 10m
                50m