commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Closed: (COLLECTIONS-353) AbstractLinkedMap firstKey/lastKey JavaDoc reversed
Date Sat, 19 Jun 2010 19:29:23 GMT

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

Henri Yandell closed COLLECTIONS-353.
-------------------------------------

    Fix Version/s: 4.0-beta-1
       Resolution: Duplicate

Closing as a duplicate of a fixed issue.

> 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-beta-1
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message