pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raffaele Borrelli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIVOT-725) HashMap rehash fires events
Date Fri, 01 Apr 2011 12:53:05 GMT
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


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

Mime
View raw message