From 7d92ec81841bbbacc4ea4a96173440eea71f628f Mon Sep 17 00:00:00 2001 From: "Jesse N. Glick" Date: Mon, 5 Mar 2012 20:35:11 +0000 Subject: [PATCH] Clarifying that a FS-only collection might be using any FileProvider, not necessarily FileResource. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1297222 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/types/ResourceCollection.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/types/ResourceCollection.java b/src/main/org/apache/tools/ant/types/ResourceCollection.java index 82e862bde..2770dce56 100644 --- a/src/main/org/apache/tools/ant/types/ResourceCollection.java +++ b/src/main/org/apache/tools/ant/types/ResourceCollection.java @@ -18,6 +18,7 @@ package org.apache.tools.ant.types; import java.util.Iterator; +import org.apache.tools.ant.types.resources.FileProvider; /** * Interface describing a collection of Resources. @@ -41,8 +42,8 @@ public interface ResourceCollection { /** * Indicate whether this ResourceCollection is composed entirely of * Resources accessible via local filesystem conventions. If true, - * all Resources returned from this ResourceCollection should be - * instances of FileResource. + * all resources returned from this collection should + * respond with a {@link FileProvider} when asked via {@link Resource#as}. * @return whether this is a filesystem-only resource collection. */ boolean isFilesystemOnly();