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

HashMap rehash fires events

    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

        1. pivot-725.patch
          1 kB
          Gregory K. Brown

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: