[
https://issues.apache.org/jira/browse/DBUTILS-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875583#action_12875583
]
Stas Agarkov commented on DBUTILS-69:
-------------------------------------
I think it is better to encapsulate a suspicious cast in the library than to
write in each application instead:
phones = (Collection <String>) queryRunner.query (query, new ColumnListHandler
());
line:
Object object = queryRunner.query (query, new ColumnListHandler ());
phones = (Collection <String>) object;
> Change generic type from Object to T
> ------------------------------------
>
> Key: DBUTILS-69
> URL: https://issues.apache.org/jira/browse/DBUTILS-69
> Project: Commons DbUtils
> Issue Type: Improvement
> Affects Versions: 1.3
> Reporter: Stas Agarkov
> Fix For: 1.3
>
> Attachments: ColumnListHandler.patch
>
> Original Estimate: 0.02h
> Remaining Estimate: 0.02h
>
> Please change generic type from Object to T in the class ColumnListHandler.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.