hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-2258) Compilation warning in mapred.jobcontrol.Job.addDependingJob()
Date Wed, 21 Nov 2007 23:49:43 GMT
Compilation warning in mapred.jobcontrol.Job.addDependingJob()

                 Key: HADOOP-2258
                 URL: https://issues.apache.org/jira/browse/HADOOP-2258
             Project: Hadoop
          Issue Type: Improvement
    Affects Versions: 0.16.0
            Reporter: Konstantin Shvachko
             Fix For: 0.16.0

The warning was introduced by HADOOP-2086. It says: 
[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);
"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.

View raw message