It should specify an interface. On Tue, Jul 8, 2008 at 3:11 PM, Lukas Vlcek <[EMAIL PROTECTED]> wrote:
> Hi, > > Why the Job API is using ArrayList instead of List? > > It is used in constructor: > public Job(JobConf jobConf, ArrayList<Job> dependingJobs) > > and one public method: > public ArrayList<Job> getDependingJobs() > > Is there any reason why it is referencing to implementation while it could > be replaced by interface? > > Regards, > Lukas > > -- > http://blog.lukas-vlcek.com/ > -- ted
