Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 74039 invoked from network); 9 Jul 2008 06:56:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jul 2008 06:56:15 -0000 Received: (qmail 59920 invoked by uid 500); 9 Jul 2008 06:56:10 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 59880 invoked by uid 500); 9 Jul 2008 06:56:09 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 59869 invoked by uid 99); 9 Jul 2008 06:56:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 23:56:09 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ted.dunning@gmail.com designates 209.85.198.228 as permitted sender) Received: from [209.85.198.228] (HELO rv-out-0506.google.com) (209.85.198.228) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 06:55:16 +0000 Received: by rv-out-0506.google.com with SMTP id k40so5845188rvb.29 for ; Tue, 08 Jul 2008 23:55:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=UHMpXHa0c1axA+V+LW+A6fR1t2Hb08NsH5zsvMnq+PA=; b=i0TgrnltOsZDQfZ/T2gLFkNnGUxBh77GiGf8M4kXD2doj6j/I24gOyQ6OBrVqWQEKO hOY0qw016KHxEopTfREhdmraCcb9XL9rR2oal+/wHQLR5K3q5rxFIp03eiJMbar7tnzF rSAEs5ArOeNMfsUTep0SGm8+Z7OLZ6jrbw/Bo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=TTon/cvl25K8abN0RXRGG3HQa1SDw/2WSTA+U9RZ1cp/Y1pCQr+Lw5zOuwrvjiOEW2 Kltt010POcHlHoRJ9JMQVWlxIJaAnY6YZnhtrd7jjdiBuvqmc2G3vN5IIUvlKpHroeoJ puErVVfhjJyorgWTAbmNda5UFZTR6DRzDhoc4= Received: by 10.141.123.4 with SMTP id a4mr1391832rvn.294.1215586538267; Tue, 08 Jul 2008 23:55:38 -0700 (PDT) Received: by 10.141.169.2 with HTTP; Tue, 8 Jul 2008 23:55:38 -0700 (PDT) Message-ID: Date: Tue, 8 Jul 2008 23:55:38 -0700 From: "Ted Dunning" To: core-dev@hadoop.apache.org Subject: Re: Job API question - ArrayList instead of List? In-Reply-To: <52c3ddca0807081511i6652754en65dcc6e83398dc4b@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_28495_23483140.1215586538259" References: <52c3ddca0807081511i6652754en65dcc6e83398dc4b@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_28495_23483140.1215586538259 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline It should specify an interface. On Tue, Jul 8, 2008 at 3:11 PM, Lukas Vlcek wrote: > Hi, > > Why the Job API is using ArrayList instead of List? > > It is used in constructor: > public Job(JobConf jobConf, ArrayList dependingJobs) > > and one public method: > public ArrayList 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 ------=_Part_28495_23483140.1215586538259--