commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary D. Gregory (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (POOL-378) Deprecate PoolUtils.prefill(ObjectPool<T>, int) in favor of ObjectPool.addObjects(int)
Date Tue, 08 Oct 2019 14:05:00 GMT

     [ 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)

Mime
View raw message