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 "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2007/11/22 01:05:43 UTC
[jira] Updated: (HADOOP-2258) Compilation warning in
mapred.jobcontrol.Job.addDependingJob()
[ https://issues.apache.org/jira/browse/HADOOP-2258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Shvachko updated HADOOP-2258:
----------------------------------------
Component/s: mapred
> Compilation warning in mapred.jobcontrol.Job.addDependingJob()
> --------------------------------------------------------------
>
> Key: HADOOP-2258
> URL: https://issues.apache.org/jira/browse/HADOOP-2258
> Project: Hadoop
> Issue Type: Improvement
> Components: mapred
> Affects Versions: 0.16.0
> Reporter: Konstantin Shvachko
> Fix For: 0.16.0
>
>
> The warning was introduced by HADOOP-2086. It says:
> {code}
> [javac] java\org\apache\hadoop\mapred\jobcontrol\Job.java:221: warning: [unchecked] unchecked call to add(E)
> as a member of the raw type java.util.ArrayList
> [javac] return this.dependingJobs.add(dependingJob);
> {code}
> "Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized."
> I wonder why Hudson missed that warning?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.