Return-Path: X-Original-To: apmail-jackrabbit-oak-commits-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 13BD2DD38 for ; Wed, 17 Oct 2012 16:17:38 +0000 (UTC) Received: (qmail 34094 invoked by uid 500); 17 Oct 2012 16:17:38 -0000 Delivered-To: apmail-jackrabbit-oak-commits-archive@jackrabbit.apache.org Received: (qmail 34070 invoked by uid 500); 17 Oct 2012 16:17:38 -0000 Mailing-List: contact oak-commits-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-commits@jackrabbit.apache.org Received: (qmail 34060 invoked by uid 99); 17 Oct 2012 16:17:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2012 16:17:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2012 16:17:35 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id CEE2023888FE; Wed, 17 Oct 2012 16:16:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: oak-commits@jackrabbit.apache.org From: mduerig@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121017161651.CEE2023888FE@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 {