hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amar Kamat (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HADOOP-2802) Fix javac warnings shown in "ant test-core"
Date Sat, 09 Feb 2008 13:15:07 GMT

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

Amar Kamat resolved HADOOP-2802.
--------------------------------

    Resolution: Duplicate

Duplicate of HADOOP-2733.

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


Mime
View raw message