[
https://issues.apache.org/jira/browse/COLLECTIONS-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Neidhart resolved COLLECTIONS-501.
-----------------------------------------
Resolution: Fixed
Renamed method to removeMultiKey in r1542782.
> 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)