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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Component/s: core-collections
    • Labels:
      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

            People

            • Assignee:
              Unassigned
              Reporter:
              lello Raffaele Borrelli

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment