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

Chris Douglas resolved HADOOP-2258.
-----------------------------------

    Resolution: Duplicate

HADOOP-2202

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

Reply via email to