Browse Source

Expose Iterator publicly as a helper to other ResourceCollections

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

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

@@ -52,7 +52,8 @@ public class Resources extends DataType implements ResourceCollection {
} }
}; };


private static final Iterator EMPTY_ITERATOR = new Iterator() {
/** static empty Iterator */
public static final Iterator EMPTY_ITERATOR = new Iterator() {
public Object next() { public Object next() {
throw new NoSuchElementException(); throw new NoSuchElementException();
} }


Loading…
Cancel
Save