commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (POOL-238) Improve test generics
Date Wed, 16 Oct 2013 00:05:43 GMT
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)

Mime
View raw message