commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] Created: (DBUTILS-68) Examples on main page are not generic and produce unchecked warning
Date Fri, 08 Jan 2010 10:32:54 GMT
Examples on main page are not generic and produce unchecked warning
-------------------------------------------------------------------

                 Key: DBUTILS-68
                 URL: https://issues.apache.org/jira/browse/DBUTILS-68
             Project: Commons DbUtils
          Issue Type: Task
    Affects Versions: 1.3
            Reporter: Michael Osipov
            Priority: Minor


Check the [examples|http://commons.apache.org/dbutils/examples.html] "ResultSetHandler Implementations".
It should rather be


{code}
ResultSetHandler<Person> h = new BeanHandler<Person>(Person.class);
{code}

and

{code}
ResultSetHandler<List<Person>> h = new BeanListHandler<Person>(Person.class);
{code}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message