This is an automated email from the ASF dual-hosted git repository.
joerghoh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-api.git
The following commit(s) were added to refs/heads/master by this push:
new 07d5f3e SLING-11845 specify / as the default value for the search
path (#47)
07d5f3e is described below
commit 07d5f3ec8b2ca17b475f55943dc48f4f22b55bf2
Author: Jörg Hoh <[email protected]>
AuthorDate: Fri Jul 21 14:29:32 2023 +0200
SLING-11845 specify / as the default value for the search path (#47)
* SLING-11845 specify / as the default value for the search path
---
src/main/java/org/apache/sling/api/resource/ResourceResolver.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
b/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
index 7bb7a47..ad2459f 100644
--- a/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
+++ b/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
@@ -400,7 +400,7 @@ public interface ResourceResolver extends Adaptable,
Closeable {
/**
* Returns the search path used by the {@link #getResource(String)} method
* to search for resources by relative path. If no search path is set an
- * empty array is returned.
+ * array with the single value "/" is returned.
* <p>
* The returned array of strings is a copy of the internal value, so
* modifications to this array have no influence on the operation of the