Browse Source

Fix for 37341

cache of filterHash must also be invalidated if a file is read, not only if a single filter is added.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@330651 13f79535-47bb-0310-9956-ffa450edef68
master
Jacobus Martinus Kruithof 19 years ago
parent
commit
aeff0ba6e3
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/main/org/apache/tools/ant/types/FilterSet.java

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

@@ -326,6 +326,7 @@ public class FilterSet extends DataType implements Cloneable {
throw new BuildException("Must specify a file not a directory in " throw new BuildException("Must specify a file not a directory in "
+ "the filtersfile attribute:" + filtersFile); + "the filtersfile attribute:" + filtersFile);
} }
filterHash = null;
} }


/** /**


Loading…
Cancel
Save