Uploaded image for project: 'Commons Pool'
  1. Commons Pool
  2. POOL-307

GenericKeyedObjectPool - inefficient use of keySet instead of entrySet

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.4.2
    • Fix Version/s: 2.4.3
    • Labels:
      None
    • Flags:
      Patch

      Description

      Noticed that GenericKeyedObjectPool has several cases of Inefficient use of keySet iterator instead of entrySet iterator.

        Attachments

        1. GenericKeyedObjectPool.patch
          3 kB
          Anthony Whitford

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              awhitford Anthony Whitford
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: