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

Classes Generic[Keyed]ObjectPoolConfig are generic - but why?

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Labels:
      None

      Description

      The classes Generic[KeyedObject]PoolConfig are generic - but why?

      They don't use the parameterised types anywhere as far as I can tell.

      Unless I'm missing something, I don't think the parameterisation provides any useful compile-time checking; it just make the ctors harder to read ...

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sebb Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: