From 2e539cd379fe9c6c145887c16960c6f43ea08dd4 Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Tue, 21 Nov 2006 23:48:18 +0000 Subject: [PATCH] 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 --- src/main/org/apache/tools/ant/types/resources/Resources.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/org/apache/tools/ant/types/resources/Resources.java b/src/main/org/apache/tools/ant/types/resources/Resources.java index 84b6fa261..e6dd1e657 100644 --- a/src/main/org/apache/tools/ant/types/resources/Resources.java +++ b/src/main/org/apache/tools/ant/types/resources/Resources.java @@ -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() { throw new NoSuchElementException(); }