ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1066975 - /ant/core/trunk/src/main/org/apache/tools/ant/types/FilterSet.java
Date Thu, 03 Feb 2011 21:13:10 GMT
Author: bodewig
Date: Thu Feb  3 21:13:10 2011
New Revision: 1066975

URL: http://svn.apache.org/viewvc?rev=1066975&view=rev
Log:
actually make use of the final variable

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/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/FilterSet.java?rev=1066975&r1=1066974&r2=1066975&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 Feb  3 21:13:10
2011
@@ -224,7 +224,7 @@ public class FilterSet extends DataType 
         if (!readingFiles) {
             readingFiles = true;
             final int size = filtersFiles.size();
-            for (int i = 0, sz = size; i < sz; i++) {
+            for (int i = 0; i < size; i++) {
                 readFiltersFromFile((File) filtersFiles.get(i));
             }
             filtersFiles.clear();



Mime
View raw message