Uploaded image for project: 'Commons Collections'
  1. Commons Collections
  2. COLLECTIONS-228

MultiValueMap put and putAll do not return the correct values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2
    • 3.2.2, 4.0-alpha1, 4.0
    • Map
    • None

    Description

      MultiValueMap put and putAll do not return the correct values.

      putAll(Object, Collection) should return true if the map is changed. But if the key is new then this behaviour fails.

      put(Object, Object) should return the added value if the map is changed. But if the key is new then this behaviour fails.

      This was hidden because the test case referred to MultiHashMap and not MultValueMap.

      Attachments

        Activity

          People

            scolebourne Stephen Colebourne
            scolebourne Stephen Colebourne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: