git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277449 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -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"); | * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| * you may not use this file except in compliance with 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; | package org.apache.tools.ant.types.selectors; | ||||
| import java.io.File; | |||||
| import java.util.Enumeration; | import java.util.Enumeration; | ||||
| import java.util.Vector; | import java.util.Vector; | ||||
| import org.apache.tools.ant.BuildException; | |||||
| import org.apache.tools.ant.Project; | import org.apache.tools.ant.Project; | ||||
| import org.apache.tools.ant.types.DataType; | import org.apache.tools.ant.types.DataType; | ||||
| import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector; | import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector; | ||||
| @@ -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"); | * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| * you may not use this file except in compliance with 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 { | public class DepthSelector extends BaseExtendSelector { | ||||
| /** min attribute */ | |||||
| public int min = -1; | public int min = -1; | ||||
| /** max attribute */ | |||||
| public int max = -1; | public int max = -1; | ||||
| /** Used for parameterized custom selector */ | /** Used for parameterized custom selector */ | ||||
| public static final String MIN_KEY = "min"; | public static final String MIN_KEY = "min"; | ||||
| @@ -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"); | * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| * you may not use this file except in compliance with 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 | * 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 | * both classpath and classname, creating the class is deferred to here | ||||
| * as well. | * 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) | public boolean isSelected(File basedir, String filename, File file) | ||||
| throws BuildException { | throws BuildException { | ||||