Uploaded image for project: 'Commons Collections'
  1. Commons Collections
  2. COLLECTIONS-353

AbstractLinkedMap firstKey/lastKey JavaDoc reversed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.2
    • 4.0
    • Map
    • None

    Description

      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());

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mduerig Michael Dürig
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: