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] [Updated] (COLLECTIONS-353) AbstractLinkedMap firstKey/lastKey JavaDoc reversed
Date Sat, 27 Apr 2013 21:28:15 GMT

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

Thomas Neidhart updated COLLECTIONS-353:
----------------------------------------

    Fix Version/s:     (was: 4.0-beta-1)
                   4.0
    
> AbstractLinkedMap firstKey/lastKey JavaDoc reversed
> ---------------------------------------------------
>
>                 Key: COLLECTIONS-353
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-353
>             Project: Commons Collections
>          Issue Type: Bug
>          Components: Map
>    Affects Versions: 3.2
>            Reporter: Michael Dürig
>             Fix For: 4.0
>
>
> According to the Javadoc on AbstractLinkedMap#firstKey and AbstractLinkedMap#lastKey
the following test shouldn't fail:
>     LinkedMap map = new LinkedMap();
>     map.put("one", "one");
>     map.put("two", "two");
>     assertEquals("one", map.lastKey());
>     assertEquals("two", map.firstKey());

--
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