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/02/28 20:29:14 UTC

[jira] [Resolved] (COLLECTIONS-262) probably apidoc error: firstKey() and lastKey() in AbstractLinkedMap

     [ https://issues.apache.org/jira/browse/COLLECTIONS-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Neidhart resolved COLLECTIONS-262.
-----------------------------------------

    Resolution: Fixed
    
> probably apidoc error: firstKey() and lastKey() in AbstractLinkedMap
> --------------------------------------------------------------------
>
>                 Key: COLLECTIONS-262
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-262
>             Project: Commons Collections
>          Issue Type: Bug
>          Components: Map
>    Affects Versions: 3.2
>            Reporter: immars
>             Fix For: 4.0
>
>
> In the apidoc or source of org.apache.commons.collections.map.AbstractLinkedMap.firstKey(), it is said that this method "Gets the first key in the map, which is the most recently inserted.", which is exactly the actual behavior of lastKey(), and vice versa. 
> So I think there is a typo with this class' javadoc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira