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

Tsz Wo (Nicholas), SZE updated HADOOP-2802:
-------------------------------------------

    Attachment: 2802_20080208.patch

2802_20080208.patch: fix the unchecked warnings.

> Fix javac warnings shown in "ant test-core"
> -------------------------------------------
>
>                 Key: HADOOP-2802
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2802
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>         Attachments: 2802_20080208.patch
>
>
> When running "ant test-core", javac shows the following warnings:
> {code}
>   [javac] Compiling 170 source files to /trunk/build/test/classes
>     [javac] 
> /trunk/src/test/org/apache/hadoop/mapred/TestClusterMapReduceTestCase.java:43:
>  warning: [unchecked] unchecked call to collect(K,V) as a member of the raw 
> type org.apache.hadoop.mapred.OutputCollector
>     [javac]       collector.collect(key, value);
>     [javac]                        ^
>     [javac] 
> /trunk/src/test/org/apache/hadoop/mapred/TestClusterMapReduceTestCase.java:59:
>  warning: [unchecked] unchecked call to collect(K,V) as a member of the raw 
> type org.apache.hadoop.mapred.OutputCollector
>     [javac]         collector.collect(key, value);
>     [javac]                          ^
>     [javac] 
> /trunk/src/test/org/apache/hadoop/mapred/TestJobStatusPersistency.java:43: 
> warning: [unchecked] unchecked call to collect(K,V) as a member of the raw 
> type org.apache.hadoop.mapred.OutputCollector
>     [javac]       collector.collect(key, value);
>     [javac]                        ^
>     [javac] 
> /trunk/src/test/org/apache/hadoop/mapred/TestJobStatusPersistency.java:59: 
> warning: [unchecked] unchecked call to collect(K,V) as a member of the raw 
> type org.apache.hadoop.mapred.OutputCollector
>     [javac]         collector.collect(key, value);
>     [javac]                          ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 4 warnings
> {code}

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