You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by fm...@apache.org on 2008/05/07 20:55:57 UTC
svn commit: r654212 -
/incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
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();