You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2010/02/23 11:16:29 UTC

[jira] Created: (COLLECTIONS-353) AbstractLinkedMap firstKey/lastKey JavaDoc reversed

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


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.


[jira] Closed: (COLLECTIONS-353) AbstractLinkedMap firstKey/lastKey JavaDoc reversed

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ 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.