sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject [sling-org-apache-sling-api] branch master updated: SLING-3524 : ResourceResolver.clone(null) should not share the same JCR session
Date Thu, 03 May 2018 05:49:09 GMT
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 c612d2e  SLING-3524 : ResourceResolver.clone(null) should not share the same JCR
session
c612d2e is described below

commit c612d2e63649fc2b392a8bcf3a8fc714708d1a08
Author: Carsten Ziegeler <cziegele@adobe.com>
AuthorDate: Thu May 3 07:49:00 2018 +0200

    SLING-3524 : ResourceResolver.clone(null) should not share the same JCR session
---
 .../java/org/apache/sling/spi/resource/provider/ResourceProvider.java  | 3 ++-
 src/main/java/org/apache/sling/spi/resource/provider/package-info.java | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/spi/resource/provider/ResourceProvider.java b/src/main/java/org/apache/sling/spi/resource/provider/ResourceProvider.java
index 7089a01..6904933 100644
--- a/src/main/java/org/apache/sling/spi/resource/provider/ResourceProvider.java
+++ b/src/main/java/org/apache/sling/spi/resource/provider/ResourceProvider.java
@@ -210,9 +210,10 @@ public abstract class ResourceProvider<T> {
     public static final String AUTH_ADMIN = "provider.auth.admin";
 
     /**
-     * The authentication information property indicating that an existing ResourceResolver
is being cloned.
+     * The authentication information property indicating that an existing resource resolver
is being cloned.
      * Providers that receive stateful objects as authentication information must deep-clone
those objects
      * when this property is present, to avoid inadvertent state sharing with the existing
resolver.
+     * @since 1.2.0
      */
     public static final String AUTH_CLONE = "provider.auth.clone";
 
diff --git a/src/main/java/org/apache/sling/spi/resource/provider/package-info.java b/src/main/java/org/apache/sling/spi/resource/provider/package-info.java
index 734e439..f0818be 100644
--- a/src/main/java/org/apache/sling/spi/resource/provider/package-info.java
+++ b/src/main/java/org/apache/sling/spi/resource/provider/package-info.java
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-@Version("1.1.0")
+@Version("1.2.0")
 package org.apache.sling.spi.resource.provider;
 
 import org.osgi.annotation.versioning.Version;

-- 
To stop receiving notification emails like this one, please contact
cziegeler@apache.org.

Mime
View raw message