commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Thomas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (POOL-238) Improve test generics
Date Thu, 05 Dec 2013 13:18:42 GMT

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

Mime
View raw message