Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 54354 invoked from network); 2 Feb 2006 19:29:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Feb 2006 19:29:59 -0000 Received: (qmail 45391 invoked by uid 500); 2 Feb 2006 19:29:57 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 45355 invoked by uid 500); 2 Feb 2006 19:29:57 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 45344 invoked by uid 99); 2 Feb 2006 19:29:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 11:29:57 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.200.161] (HELO web30908.mail.mud.yahoo.com) (68.142.200.161) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 02 Feb 2006 11:29:56 -0800 Received: (qmail 47460 invoked by uid 60001); 2 Feb 2006 19:29:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=jHury73NoKlZEAE7rnbBRSHemB15W8eVoR8r7J6+xO5UxD8dFJCvXWOC/1jW6xKtu2KNw3AbnjGmCRb+jw9V+G0aZBZMfYK1DddbRXhjmfowR/ECiwU6ebOwQ0MDEZXeJ97rZKvxxf9Y/Hqc/Kkid13ys9nwgR/s734zz7wcupU= ; Message-ID: <20060202192935.47458.qmail@web30908.mail.mud.yahoo.com> Received: from [66.10.233.130] by web30908.mail.mud.yahoo.com via HTTP; Thu, 02 Feb 2006 11:29:35 PST Date: Thu, 2 Feb 2006 11:29:35 -0800 (PST) From: Matt Benson Subject: Re: svn commit: r374463 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Delete.java To: Ant Developers List In-Reply-To: <20060202192248.49678.qmail@minotaur.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N that was probably some of mine when I was feverishly trying to get delete's performance back up to snuff... :) --- jkf@apache.org wrote: > Author: jkf > Date: Thu Feb 2 11:22:37 2006 > New Revision: 374463 > > URL: > http://svn.apache.org/viewcvs?rev=374463&view=rev > Log: > Remove unused import + removed some commented out > code, which has been commented out since its > introduction. > > Modified: > > ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Delete.java > > Modified: > ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Delete.java > URL: > http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Delete.java?rev=374463&r1=374462&r2=374463&view=diff > ============================================================================== > --- > ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Delete.java > (original) > +++ > ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Delete.java > Thu Feb 2 11:22:37 2006 > @@ -1,5 +1,5 @@ > /* > - * Copyright 2000-2005 The Apache Software > Foundation > + * Copyright 2000-2006 The Apache Software > Foundation > * > * Licensed under the Apache License, Version 2.0 > (the "License"); > * you may not use this file except in compliance > with the License. > @@ -21,7 +21,6 @@ > import java.util.Arrays; > import java.util.Vector; > import java.util.Iterator; > -import java.util.ArrayList; > import java.util.Comparator; > > import org.apache.tools.ant.Project; > @@ -89,9 +88,6 @@ > this.basedir = basedir; > this.dirs = dirs; > Arrays.sort(this.dirs, REVERSE); > - //ArrayList al = new > ArrayList(Arrays.asList(dirs)); > - //Collections.reverse(al); > - //this.dirs = (String[]) > (al.toArray(new String[dirs.length])); > } > public Iterator iterator() { > return new > FileResourceIterator(basedir, dirs); > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > dev-unsubscribe@ant.apache.org > For additional commands, e-mail: > dev-help@ant.apache.org > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org