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

Unused variable in TreeBidiMap.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • Nightly Builds
    • 4.0-alpha1, 4.0
    • BidiMap
    • None

    Description

      Twice in TreeBidiMap there is an entrySet variable that is not used. Rather the entrySet() method returns a new TreeView every time.

      We should either:

      a) Delete the variable.
      b) Use the variable and always return the same TreeView.

      I'm thinking a).

      [Found via http://opensource.fortifysoftware.com/ ]

      Attachments

        1. COLLECTIONS-255.patch
          0.8 kB
          Henri Yandell

        Activity

          People

            Unassigned Unassigned
            bayard Henri Yandell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: