ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r330651 - /ant/core/trunk/src/main/org/apache/tools/ant/types/FilterSet.java
Date Thu, 03 Nov 2005 22:10:18 GMT
Author: jkf
Date: Thu Nov  3 14:10:15 2005
New Revision: 330651

URL: http://svn.apache.org/viewcvs?rev=330651&view=rev
Log:
Fix for 37341
cache of filterHash must also be invalidated if a file is read, not only if a single filter
is added.

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/types/FilterSet.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/types/FilterSet.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/types/FilterSet.java?rev=330651&r1=330650&r2=330651&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/types/FilterSet.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/types/FilterSet.java Thu Nov  3 14:10:15
2005
@@ -326,6 +326,7 @@
            throw new BuildException("Must specify a file not a directory in "
             + "the filtersfile attribute:" + filtersFile);
         }
+        filterHash = null;
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message