Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-725

HashMap rehash fires events

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0.1
    • core-collections
    • None

    Description

      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. "

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            lello Raffaele Borrelli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment