commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] Created: (COLLECTIONS-353) AbstractLinkedMap firstKey/lastKey JavaDoc reversed
Date Tue, 23 Feb 2010 10:16:29 GMT
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.


Mime
View raw message