diff --git a/src/main/org/apache/tools/ant/types/selectors/AbstractSelectorContainer.java b/src/main/org/apache/tools/ant/types/selectors/AbstractSelectorContainer.java index 4265e407e..88aaf67bc 100644 --- a/src/main/org/apache/tools/ant/types/selectors/AbstractSelectorContainer.java +++ b/src/main/org/apache/tools/ant/types/selectors/AbstractSelectorContainer.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2004 The Apache Software Foundation + * Copyright 2002-2005 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. @@ -17,11 +17,9 @@ package org.apache.tools.ant.types.selectors; -import java.io.File; import java.util.Enumeration; import java.util.Vector; -import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Project; import org.apache.tools.ant.types.DataType; import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector; diff --git a/src/main/org/apache/tools/ant/types/selectors/DepthSelector.java b/src/main/org/apache/tools/ant/types/selectors/DepthSelector.java index 8265d56c3..8d8b3e218 100644 --- a/src/main/org/apache/tools/ant/types/selectors/DepthSelector.java +++ b/src/main/org/apache/tools/ant/types/selectors/DepthSelector.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2004 The Apache Software Foundation + * Copyright 2002-2005 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. @@ -31,7 +31,9 @@ import org.apache.tools.ant.types.Parameter; */ public class DepthSelector extends BaseExtendSelector { + /** min attribute */ public int min = -1; + /** max attribute */ public int max = -1; /** Used for parameterized custom selector */ public static final String MIN_KEY = "min"; diff --git a/src/main/org/apache/tools/ant/types/selectors/ExtendSelector.java b/src/main/org/apache/tools/ant/types/selectors/ExtendSelector.java index 2ee3603d9..fbd91ae42 100644 --- a/src/main/org/apache/tools/ant/types/selectors/ExtendSelector.java +++ b/src/main/org/apache/tools/ant/types/selectors/ExtendSelector.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2004 The Apache Software Foundation + * Copyright 2002-2005 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. @@ -177,8 +177,11 @@ public class ExtendSelector extends BaseSelector { * since we know we must have them all by now. And since we must know * both classpath and classname, creating the class is deferred to here * as well. - * - * @exception BuildException if an error occurs + * @param basedir The the base directory. + * @param filename The name of the file to check. + * @param file A File object for this filename. + * @return whether the file should be selected or not. + * @exception BuildException if an error occurs. */ public boolean isSelected(File basedir, String filename, File file) throws BuildException {