Browse Source

javadoc and remove unused imports

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277449 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 20 years ago
parent
commit
f17984e1bd
3 changed files with 10 additions and 7 deletions
  1. +1
    -3
      src/main/org/apache/tools/ant/types/selectors/AbstractSelectorContainer.java
  2. +3
    -1
      src/main/org/apache/tools/ant/types/selectors/DepthSelector.java
  3. +6
    -3
      src/main/org/apache/tools/ant/types/selectors/ExtendSelector.java

+ 1
- 3
src/main/org/apache/tools/ant/types/selectors/AbstractSelectorContainer.java View File

@@ -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;


+ 3
- 1
src/main/org/apache/tools/ant/types/selectors/DepthSelector.java View File

@@ -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";


+ 6
- 3
src/main/org/apache/tools/ant/types/selectors/ExtendSelector.java View File

@@ -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 {


Loading…
Cancel
Save