You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2013/11/17 17:05:22 UTC

[jira] [Created] (COLLECTIONS-501) Rename MultiKeyMap.remove(K key1, K key2) to avoid clashes with newly introduced default methods in Java 8

Thomas Neidhart created COLLECTIONS-501:
-------------------------------------------

             Summary: Rename MultiKeyMap.remove(K key1, K key2) to avoid clashes with newly introduced default methods in Java 8
                 Key: COLLECTIONS-501
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-501
             Project: Commons Collections
          Issue Type: Bug
    Affects Versions: 4.0-alpha1
            Reporter: Thomas Neidhart
             Fix For: 4.0


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, ...)



--
This message was sent by Atlassian JIRA
(v6.1#6144)