[jira] [Updated] (COLLECTIONS-278) put() and putAll() don't update the getKeys() map

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Updated] (COLLECTIONS-278) put() and putAll() don't update the getKeys() map

Gary D. Gregory (Jira)

     [ https://issues.apache.org/jira/browse/COLLECTIONS-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Neidhart updated COLLECTIONS-278:

    Fix Version/s:     (was: 4.0)

> put() and putAll() don't update the getKeys() map
> -------------------------------------------------
>                 Key: COLLECTIONS-278
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-278
>             Project: Commons Collections
>          Issue Type: Bug
>    Affects Versions: 3.2
>            Reporter: Henning Schmiedehausen
>         Attachments: COLLECTIONS-278.patch, COLLECTIONS-278.patch, putall.patch, putall-test-patch
> 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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira