From 8c725b421bb8428a93315e9e60dc7ce1e152c3ac Mon Sep 17 00:00:00 2001 From: Jacobus Martinus Kruithof Date: Thu, 2 Feb 2006 19:22:37 +0000 Subject: [PATCH] Remove unused import + removed some commented out code, which has been commented out since its introduction. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@374463 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/Delete.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/Delete.java b/src/main/org/apache/tools/ant/taskdefs/Delete.java index 8a1e16467..36eac5203 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Delete.java +++ b/src/main/org/apache/tools/ant/taskdefs/Delete.java @@ -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.io.File; 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 @@ public class Delete extends MatchingTask { 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);