jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1399328 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/InitialContent.java
Date Wed, 17 Oct 2012 16:16:51 GMT
Author: mduerig
Date: Wed Oct 17 16:16:51 2012
New Revision: 1399328

URL: http://svn.apache.org/viewvc?rev=1399328&view=rev
Log:
typo

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/InitialContent.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/InitialContent.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/InitialContent.java?rev=1399328&r1=1399327&r2=1399328&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/InitialContent.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/InitialContent.java
Wed Oct 17 16:16:51 2012
@@ -95,15 +95,15 @@ public class InitialContent extends Defa
         if (!root.hasChildNode("oak:index")) {
             NodeBuilder index = root.child("oak:index");
             index.child("jcr:uuid")
-                .setProperty("jcr:pimaryType", "oak:queryIndexDefinition", Type.NAME)
+                .setProperty("jcr:primaryType", "oak:queryIndexDefinition", Type.NAME)
                 .setProperty("unique", true);
             // FIXME: user-mgt related unique properties (rep:authorizableId, rep:principalName)
are implementation detail and not generic for repo
             // FIXME: rep:principalName only needs to be unique if defined with user/group
nodes -> add defining nt-info to uniqueness constraint otherwise ac-editing will fail.
             index.child("rep:authorizableId")
-                .setProperty("jcr:pimaryType", "oak:queryIndexDefinition", Type.NAME)
+                .setProperty("jcr:primaryType", "oak:queryIndexDefinition", Type.NAME)
                 .setProperty("unique", true);
             index.child("rep:principalName")
-                .setProperty("jcr:pimaryType", "oak:queryIndexDefinition", Type.NAME)
+                .setProperty("jcr:primaryType", "oak:queryIndexDefinition", Type.NAME)
                 .setProperty("unique", true);
         }
         try {



Mime
View raw message