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-jcr-resource] branch master updated: SLING-3524 : ResourceResolver.clone(null) should not share the same JCR session
Date Thu, 03 May 2018 06:01:14 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-jcr-resource.git


The following commit(s) were added to refs/heads/master by this push:
     new dde168f  SLING-3524 : ResourceResolver.clone(null) should not share the same JCR
session
dde168f is described below

commit dde168f8e1c205a04a972b8b1997c002b41055d3
Author: Carsten Ziegeler <cziegele@adobe.com>
AuthorDate: Thu May 3 08:01:06 2018 +0200

    SLING-3524 : ResourceResolver.clone(null) should not share the same JCR session
---
 pom.xml                                               |  1 +
 .../jcr/JcrResourceProviderSessionHandlingTest.java   | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/pom.xml b/pom.xml
index ee5ac67..58d19e3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -54,6 +54,7 @@
             <plugin>
                 <groupId>org.apache.sling</groupId>
                 <artifactId>maven-sling-plugin</artifactId>
+                <version>2.3.2</version>
                 <executions>
                     <execution>
                         <id>generate-adapter-metadata</id>
diff --git a/src/test/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProviderSessionHandlingTest.java
b/src/test/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProviderSessionHandlingTest.java
index 1fb61da..a471446 100644
--- a/src/test/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProviderSessionHandlingTest.java
+++ b/src/test/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProviderSessionHandlingTest.java
@@ -1,4 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 package org.apache.sling.jcr.resource.internal.helper.jcr;
+
 import static org.hamcrest.Matchers.is;
 import static org.hamcrest.Matchers.not;
 import static org.hamcrest.Matchers.sameInstance;

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

Mime
View raw message