This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag 
org.apache.sling.testing.sling-mock-1.1.2
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-sling-mock.git

commit a9692621c5f0eafe76b96c8ca1c86aeb84a62ab8
Author: Stefan Seifert <[email protected]>
AuthorDate: Wed Jan 14 11:33:52 2015 +0000

    SLING-4267 add some more property names to be ignored on import because 
they are managed by JCR internally
    
    git-svn-id: 
https://svn.apache.org/repos/asf/sling/trunk/testing/mocks/sling-mock@1651623 
13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/testing/mock/sling/loader/ContentLoader.java    | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git 
a/src/main/java/org/apache/sling/testing/mock/sling/loader/ContentLoader.java 
b/src/main/java/org/apache/sling/testing/mock/sling/loader/ContentLoader.java
index 6a83d9f..b577e43 100644
--- 
a/src/main/java/org/apache/sling/testing/mock/sling/loader/ContentLoader.java
+++ 
b/src/main/java/org/apache/sling/testing/mock/sling/loader/ContentLoader.java
@@ -56,9 +56,18 @@ public final class ContentLoader {
     private static final String PATH = "jcr:path:";
     private static final String CONTENTTYPE_OCTET_STREAM = 
"application/octet-stream";
 
-    private static final Set<String> IGNORED_NAMES = 
ImmutableSet.of(JcrConstants.JCR_PRIMARYTYPE,
-            JcrConstants.JCR_MIXINTYPES, JcrConstants.JCR_UUID, 
JcrConstants.JCR_BASEVERSION,
-            JcrConstants.JCR_PREDECESSORS, JcrConstants.JCR_SUCCESSORS, 
JcrConstants.JCR_CREATED, "jcr:checkedOut",
+    private static final Set<String> IGNORED_NAMES = ImmutableSet.of(
+            JcrConstants.JCR_PRIMARYTYPE,
+            JcrConstants.JCR_MIXINTYPES,
+            JcrConstants.JCR_UUID,
+            JcrConstants.JCR_BASEVERSION,
+            JcrConstants.JCR_PREDECESSORS,
+            JcrConstants.JCR_SUCCESSORS,
+            JcrConstants.JCR_CREATED,
+            JcrConstants.JCR_VERSIONHISTORY,
+            "jcr:checkedOut",
+            "jcr:isCheckedOut",
+            ":jcr:data",
             "rep:policy");
 
     private final ResourceResolver resourceResolver;

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to