From aeff0ba6e3dabeb1d54dbb8db4e68f889180dda6 Mon Sep 17 00:00:00 2001 From: Jacobus Martinus Kruithof Date: Thu, 3 Nov 2005 22:10:15 +0000 Subject: [PATCH] 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 --- src/main/org/apache/tools/ant/types/FilterSet.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/org/apache/tools/ant/types/FilterSet.java b/src/main/org/apache/tools/ant/types/FilterSet.java index 7235ea869..5429ba71e 100644 --- a/src/main/org/apache/tools/ant/types/FilterSet.java +++ b/src/main/org/apache/tools/ant/types/FilterSet.java @@ -326,6 +326,7 @@ public class FilterSet extends DataType implements Cloneable { throw new BuildException("Must specify a file not a directory in " + "the filtersfile attribute:" + filtersFile); } + filterHash = null; } /**