commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (COLLECTIONS-262) probably apidoc error: firstKey() and lastKey() in AbstractLinkedMap
Date Thu, 28 Feb 2013 19:29:14 GMT

     [ 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

Mime
View raw message