hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Chansler (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3791) Use generics in ReflectionUtils
Date Wed, 22 Oct 2008 01:00:48 GMT

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


Mime
View raw message