You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Phil Steitz (Jira)" <ji...@apache.org> on 2023/09/18 23:09:00 UTC

[jira] [Updated] (POOL-238) Improve test generics

     [ https://issues.apache.org/jira/browse/POOL-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Phil Steitz updated POOL-238:
-----------------------------
    Fix Version/s: 2.13

> Improve test generics
> ---------------------
>
>                 Key: POOL-238
>                 URL: https://issues.apache.org/jira/browse/POOL-238
>             Project: Commons Pool
>          Issue Type: Test
>    Affects Versions: 1.6, 2.0
>            Reporter: Sebb
>            Priority: Minor
>             Fix For: 2.13
>
>
> From the dev mailing list:
> {noformat}
> > --- commons/proper/pool/trunk/src/test/java/org/apache/commons/pool2/impl/TestGenericKeyedObjectPool.java (original)
> > +++ commons/proper/pool/trunk/src/test/java/org/apache/commons/pool2/impl/TestGenericKeyedObjectPool.java Mon Oct 14 20:42:03 2013
> > @@ -60,10 +60,10 @@ public class TestGenericKeyedObjectPool
> >      protected KeyedObjectPool<Object,Object> makeEmptyPool(int mincapacity) {
> >
> >          KeyedPooledObjectFactory<Object,Object> factory =
> > -                new KeyedPooledObjectFactory<Object,Object>()  {
> > +                new BaseKeyedPooledObjectFactory<Object,Object>()  {
> One day, if someone wants to do a public service and seize a great
> opportunity to jump into [pool], s/he will fix the cheezy <Object,
> Object> setup in these tests and actually generify the test
> factories here. :)
> Phil
> {noformat}
> Created issue so it's not forgotten



--
This message was sent by Atlassian Jira
(v8.20.10#820010)