You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:49:08 UTC
[sling-org-apache-sling-jcr-repoinit] 25/43: SLING-5449 - initial
base tree creation language, see test-20.txt for examples
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.jcr.repoinit-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-repoinit.git
commit 70c5d7b6ef0296e63df6dc4484f0a7a609d410b5
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Tue May 17 14:12:23 2016 +0000
SLING-5449 - initial base tree creation language, see test-20.txt for examples
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/repoinit/oak-jcr@1744274 13f79535-47bb-0310-9956-ffa450edef68
---
.../java/org/apache/sling/repoinit/jcr/JcrRepoInitOpVisitor.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/main/java/org/apache/sling/repoinit/jcr/JcrRepoInitOpVisitor.java b/src/main/java/org/apache/sling/repoinit/jcr/JcrRepoInitOpVisitor.java
index 4bab1d9..1b991af 100644
--- a/src/main/java/org/apache/sling/repoinit/jcr/JcrRepoInitOpVisitor.java
+++ b/src/main/java/org/apache/sling/repoinit/jcr/JcrRepoInitOpVisitor.java
@@ -27,6 +27,7 @@ import javax.jcr.Session;
import org.apache.sling.repoinit.jcr.impl.AclUtil;
import org.apache.sling.repoinit.jcr.impl.ServiceUserUtil;
import org.apache.sling.repoinit.parser.operations.AclLine;
+import org.apache.sling.repoinit.parser.operations.CreatePath;
import org.apache.sling.repoinit.parser.operations.CreateServiceUser;
import org.apache.sling.repoinit.parser.operations.DeleteServiceUser;
import org.apache.sling.repoinit.parser.operations.OperationVisitor;
@@ -113,4 +114,9 @@ public class JcrRepoInitOpVisitor implements OperationVisitor {
setAcl(line, session, require(line, PROP_PRINCIPALS), paths, require(line, PROP_PRIVILEGES), isAllow);
}
}
+
+ @Override
+ public void visitCreatePath(CreatePath cp) {
+ throw new UnsupportedOperationException("visitCreatePath is not implemented yet");
+ }
}
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.