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

put() and putAll() don't update the getKeys() map

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2
    • None
    • None
    • None

    Description

      If you use the put() or putAll() methods of the ExtendedProperties class, it will not update the contents of the internal keysAsListed map which in turn will return a different list of keys using the getKeys() method than the keySet() method does.

      The attached patchs fix this behaviour and add test cases.

      Attachments

        1. putall-test-patch
          8 kB
          Henning Schmiedehausen
        2. putall.patch
          12 kB
          Henning Schmiedehausen
        3. COLLECTIONS-278.patch
          7 kB
          Henri Yandell
        4. COLLECTIONS-278.patch
          8 kB
          Henri Yandell

        Issue Links

          Activity

            People

              Unassigned Unassigned
              henning Henning Schmiedehausen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: