You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2019/10/08 14:05:00 UTC
[jira] [Resolved] (POOL-378) Deprecate
PoolUtils.prefill(ObjectPool, int) in favor of
ObjectPool.addObjects(int)
[ https://issues.apache.org/jira/browse/POOL-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory resolved POOL-378.
----------------------------------
Fix Version/s: 2.7.1
Resolution: Fixed
In git master.
> 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
> Priority: Major
> Fix For: 2.7.1
>
>
> 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)