commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DBUTILS-69) Change generic type from Object to T
Date Fri, 04 Jun 2010 11:30:55 GMT

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


Mime
View raw message