This is an automated email from the ASF dual-hosted git repository.
cziegeler 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 2f95145 SLING-12390 : Mention IllegalStateException for order
operation
2f95145 is described below
commit 2f95145f469ae175adb3d82e4e3e361236f0f2a4
Author: Carsten Ziegeler <[email protected]>
AuthorDate: Tue Jul 23 09:50:38 2024 +0200
SLING-12390 : Mention IllegalStateException for order operation
---
src/main/java/org/apache/sling/api/resource/ResourceResolver.java | 1 +
src/main/java/org/apache/sling/api/resource/package-info.java | 2 +-
2 files changed, 2 insertions(+), 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 4210364..8ec4708 100644
--- a/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
+++ b/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
@@ -709,6 +709,7 @@ public interface ResourceResolver extends Adaptable,
Closeable {
* @throws UnsupportedOperationException in case the underlying resource
provider does not support ordering or the child resources of {@code parent} are
provided by different providers.
* @throws IllegalArgumentException if either {@code name} or {@code
followingSiblingName} are not existing child resource names of {@code parent}.
* @throws PersistenceException If the operation fails in the underlying
resource provider, e.g. in case the parent resource does not support orderable
children.
+ * @throws IllegalStateException if this resource resolver has already
been {@link #close() closed}.
* @since 2.13.0 (Sling API Bundle 2.24.0)
* @see #listChildren(Resource)
* @see #getChildren(Resource)
diff --git a/src/main/java/org/apache/sling/api/resource/package-info.java
b/src/main/java/org/apache/sling/api/resource/package-info.java
index ac05b61..9ec07b2 100644
--- a/src/main/java/org/apache/sling/api/resource/package-info.java
+++ b/src/main/java/org/apache/sling/api/resource/package-info.java
@@ -17,7 +17,7 @@
* under the License.
*/
-@Version("2.13.0")
+@Version("2.13.2")
package org.apache.sling.api.resource;
import org.osgi.annotation.versioning.Version;