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

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment