You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2013/10/16 02:05:43 UTC

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

Sebb created POOL-238:
-------------------------

             Summary: Improve test generics
                 Key: POOL-238
                 URL: https://issues.apache.org/jira/browse/POOL-238
             Project: Commons Pool
          Issue Type: Test
            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)