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

Rename MultiKeyMap.remove(K key1, K key2) to avoid clashes with newly introduced default methods in Java 8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-alpha1
    • 4.0
    • None
    • None

    Description

      Java 8 will introduce new default methods for the Map interface which clash with the existing method "V remove(K key1, K key2)" in our MultiKeyMap interface.

      To avoid future problems rename the method (and other similar methods with more multi key arguments) to a more specific version:

      • V removeMultiKey(K key1, K key2, ...)
      • V removeKey(K key1, K key2, ...)

      Attachments

        Activity

          People

            Unassigned Unassigned
            tn Thomas Neidhart
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: