You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2011/04/05 15:55:05 UTC

[jira] [Resolved] (PIVOT-725) HashMap rehash fires events

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

Greg Brown resolved PIVOT-725.
------------------------------

    Resolution: Fixed

> HashMap rehash fires events
> ---------------------------
>
>                 Key: PIVOT-725
>                 URL: https://issues.apache.org/jira/browse/PIVOT-725
>             Project: Pivot
>          Issue Type: Bug
>          Components: core-collections
>    Affects Versions: 2.0
>            Reporter: Raffaele Borrelli
>             Fix For: 2.0.1
>
>         Attachments: pivot-725.patch
>
>
> The rehash() method of HashMap fires an event when the hashmap is rehashed. This would cause a Listener to be called even if the map is not being modified.
> Quoting Greg "rehash() should probably set a rehash flag and put() should ensure that it is false before firing an event. "

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira