hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Eagles (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-3448) TestCombineOutputCollector javac unchecked warning on mocked generics
Date Tue, 29 Nov 2011 19:59:40 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-3448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13159496#comment-13159496
] 

Jonathan Eagles commented on MAPREDUCE-3448:
--------------------------------------------

Findbugs unrelated to the patch
                
> TestCombineOutputCollector javac unchecked warning on mocked generics
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3448
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3448
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.24.0
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>            Priority: Minor
>         Attachments: MAPREDUCE-3448.patch
>
>
>   [javac] found   : org.apache.hadoop.mapred.IFile.Writer
>     [javac] required: org.apache.hadoop.mapred.IFile.Writer<java.lang.String,java.lang.Integer>
>     [javac]     Writer<String, Integer> mockWriter = mock(Writer.class);
>     [javac]                                              ^
>     [javac] /home/jeagles/hadoop/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestCombineOutputCollector.java:125:
warning: [unchecked] unchecked conversion
>     [javac] found   : org.apache.hadoop.mapred.IFile.Writer
>     [javac] required: org.apache.hadoop.mapred.IFile.Writer<java.lang.String,java.lang.Integer>
>     [javac]     Writer<String, Integer> mockWriter = mock(Writer.class);
>     [javac]                                              ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 2 warnings

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message