ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgl...@apache.org
Subject svn commit: r1297222 - /ant/core/trunk/src/main/org/apache/tools/ant/types/ResourceCollection.java
Date Mon, 05 Mar 2012 20:35:11 GMT
Author: jglick
Date: Mon Mar  5 20:35:11 2012
New Revision: 1297222

URL: http://svn.apache.org/viewvc?rev=1297222&view=rev
Log:
Clarifying that a FS-only collection might be using any FileProvider, not necessarily FileResource.

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/types/ResourceCollection.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/types/ResourceCollection.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/ResourceCollection.java?rev=1297222&r1=1297221&r2=1297222&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/types/ResourceCollection.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/types/ResourceCollection.java Mon Mar  5
20:35:11 2012
@@ -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();



Mime
View raw message