You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2010/06/04 13:30:55 UTC

[jira] Commented: (DBUTILS-69) Change generic type from Object to T

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

Sebb commented on DBUTILS-69:
-----------------------------

The patch generates two warnings from the method handleRow(ResultSet):

Unchecked cast from Object to T

Is it guaranteed that ResultSet.getObject(int) will always return a T?

What problem does the patch try to address?

> 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.