You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by jk...@apache.org on 2006/02/02 20:22:47 UTC
svn commit: r374463 -
/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Delete.java
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
Re: svn commit: r374463 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Delete.java
Posted by Matt Benson <gu...@yahoo.com>.
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