jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1421217 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/InitialContent.java
Date Thu, 13 Dec 2012 10:49:46 GMT
Author: mduerig
Date: Thu Dec 13 10:49:45 2012
New Revision: 1421217

URL: http://svn.apache.org/viewvc?rev=1421217&view=rev
Log:
jcr:PrimaryType is of type NAME

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=1421217&r1=1421216&r2=1421217&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
Thu Dec 13 10:49:45 2012
@@ -65,7 +65,7 @@ public class InitialContent implements R
 
         if (!root.hasChildNode("oak:index")) {
             NodeBuilder index = root.child("oak:index");
-            index.setProperty(JCR_PRIMARYTYPE, NT_UNSTRUCTURED); // TODO: use proper node
type
+            index.setProperty(JCR_PRIMARYTYPE, NT_UNSTRUCTURED, Type.NAME); // TODO: use
proper node type
             index.child("uuid")
                 .setProperty(JCR_PRIMARYTYPE, "oak:queryIndexDefinition", Type.NAME)
                 .setProperty("type", "property")



Mime
View raw message