Browse Source

Use FailFast iterators.

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

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

@@ -87,7 +87,7 @@ public abstract class BaseResourceCollectionWrapper
return ((BaseResourceCollectionWrapper) getCheckedRef()).iterator();
}
dieOnCircularReference();
return cacheCollection().iterator();
return new FailFast(this, cacheCollection().iterator());
}

/**


Loading…
Cancel
Save