Browse Source

Switch to >= Java 1.2 method, a little clearer hopefully.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277859 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 20 years ago
parent
commit
72cc982f24
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/types/AbstractFileSet.java

+ 1
- 1
src/main/org/apache/tools/ant/types/AbstractFileSet.java View File

@@ -784,7 +784,7 @@ public abstract class AbstractFileSet extends DataType
fs.additionalPatterns
.addElement(((PatternSet) e.nextElement()).clone());
}
fs.selectors = (Vector) fs.selectors.clone();
fs.selectors = new Vector(selectors);
return fs;
} catch (CloneNotSupportedException e) {
throw new BuildException(e);


Loading…
Cancel
Save