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 "Chris Douglas (JIRA)" <ji...@apache.org> on 2008/01/10 01:45:34 UTC

[jira] Updated: (HADOOP-2571) javac generates a warning in test/o.a.h.io.FileBench

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

Chris Douglas updated HADOOP-2571:
----------------------------------

    Attachment: 2571-0.patch

Suppresses spurious warning from test code.

> javac generates a warning in test/o.a.h.io.FileBench
> ----------------------------------------------------
>
>                 Key: HADOOP-2571
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2571
>             Project: Hadoop
>          Issue Type: Bug
>          Components: test
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>            Priority: Trivial
>             Fix For: 0.16.0
>
>         Attachments: 2571-0.patch
>
>
> FileBench generates the following warning in trunk:
> {quote}
>     [javac] {...}/src/test/org/apache/hadoop/io/FileBench.java:341: warning: [unchecked] unchecked cast
>     [javac] found   : java.lang.Enum
>     [javac] required: T
>     [javac]       set.add((T)fullmap.get(c).get(s));
>     [javac]                                    ^
> {quote}
> This should be suppressed.

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