You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mark Thomas (JIRA)" <ji...@apache.org> on 2013/12/05 14:18:42 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 ]

Mark Thomas updated POOL-238:
-----------------------------

    Affects Version/s: 1.6
                       2.0

> 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
>
> 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
(v6.1#6144)