Gary D. Gregory created POOL-378:
------------------------------------
Summary: Deprecate PoolUtils.prefill(ObjectPool<T>, int) in favor
of ObjectPool.addObjects(int)
Key: POOL-378
URL: https://issues.apache.org/jira/browse/POOL-378
Project: Commons Pool
Issue Type: Improvement
Reporter: Gary D. Gregory
Assignee: Gary D. Gregory
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)