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

Deprecate PoolUtils.prefill(ObjectPool<T>, int) in favor of ObjectPool.addObjects(int)

    XMLWordPrintableJSON

    Details

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

      Description

      Deprecate PoolUtils.prefill(ObjectPool<T>, int) in favor of ObjectPool.addObjects(int)

      Now that we've been on Java 8 for a while, we can use a default method on ObjectPool to provide this functionality in a proper object-oriented manner while keeping binary compatibility.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ggregory Gary D. Gregory
                Reporter:
                ggregory Gary D. Gregory
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: