commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DBUTILS-68) Examples on main page are not generic and produce unchecked warning
Date Sun, 10 Apr 2011 05:33:05 GMT

    [ https://issues.apache.org/jira/browse/DBUTILS-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018037#comment-13018037
] 

Henri Yandell commented on DBUTILS-68:
--------------------------------------

Thanks, I've applied that to SVN. Need to push the site still.

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message