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

Chris Smith updated HADOOP-3791:
--------------------------------

    Status: Patch Available  (was: Open)

> Use generics in ReflectionUtils
> -------------------------------
>
>                 Key: HADOOP-3791
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3791
>             Project: Hadoop Core
>          Issue Type: Task
>            Reporter: Chris Smith
>            Assignee: Chris Smith
>            Priority: Trivial
>         Attachments: 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.

Reply via email to