You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Robert Chansler (JIRA)" <ji...@apache.org> on 2008/10/22 03:00:48 UTC

[jira] Updated: (HADOOP-3791) Use generics in ReflectionUtils

     [ https://issues.apache.org/jira/browse/HADOOP-3791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Chansler updated HADOOP-3791:
------------------------------------

    Component/s: mapred

> Use generics in ReflectionUtils
> -------------------------------
>
>                 Key: HADOOP-3791
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3791
>             Project: Hadoop Core
>          Issue Type: Task
>          Components: mapred
>            Reporter: Chris Smith
>            Assignee: Chris Smith
>            Priority: Trivial
>             Fix For: 0.19.0
>
>         Attachments: hadoop-generics.patch, hadoop-generics.patch
>
>
> The attached patch makes ReflectionUtils.newInstance use generics appropriately. I've also gone through and updated everywhere that calls ReflectionUtils.newInstance to remove now-redundant casts, or to add further generics where appropriate. The overall result is about 17 fewer @SupressWarnings("unchecked") needed in the source tree. 

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