sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r654212 - /incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
Date Wed, 07 May 2008 18:55:57 GMT
Author: fmeschbe
Date: Wed May  7 11:55:56 2008
New Revision: 654212

URL: http://svn.apache.org/viewvc?rev=654212&view=rev
Log:
Clarfiy the format of the strings returned by getSearchPath (each entry must
be terminated with a slash)

Modified:
    incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java

Modified: incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java?rev=654212&r1=654211&r2=654212&view=diff
==============================================================================
--- incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
(original)
+++ incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
Wed May  7 11:55:56 2008
@@ -156,6 +156,11 @@
      * The returns array of Strings is a copy of the internal value, so
      * modifications to this array have no influence on the operation of the
      * ResourceResolver.
+     * <p>
+     * Each entry in the array is an absolute path terminated with a slash
+     * character. Thus to create an absolute path from a search path entry and
+     * a relative path, the search path entry and relative path may just be
+     * concatenated.
      */
     String[] getSearchPath();
 



Mime
View raw message