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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-alpha1
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: