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.