Return-Path: Delivered-To: apmail-jackrabbit-commits-archive@www.apache.org Received: (qmail 65837 invoked from network); 4 May 2009 13:34:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 May 2009 13:34:53 -0000 Received: (qmail 28329 invoked by uid 500); 4 May 2009 13:34:53 -0000 Delivered-To: apmail-jackrabbit-commits-archive@jackrabbit.apache.org Received: (qmail 28296 invoked by uid 500); 4 May 2009 13:34:53 -0000 Mailing-List: contact commits-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list commits@jackrabbit.apache.org Received: (qmail 28287 invoked by uid 99); 4 May 2009 13:34:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2009 13:34:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.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; Mon, 04 May 2009 13:34:52 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9C44E2388964; Mon, 4 May 2009 13:34:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r771302 - /jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/RepositoryImpl.java Date: Mon, 04 May 2009 13:34:32 -0000 To: commits@jackrabbit.apache.org From: jukka@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090504133432.9C44E2388964@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jukka Date: Mon May 4 13:34:32 2009 New Revision: 771302 URL: http://svn.apache.org/viewvc?rev=771302&view=rev Log: JCR-2098: SPI layer should only pass through supported repository descriptors Disable OPTION_SHAREABLE_NODES_SUPPORTED in jcr2spi Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/RepositoryImpl.java Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/RepositoryImpl.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/RepositoryImpl.java?rev=771302&r1=771301&r2=771302&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/RepositoryImpl.java (original) +++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/RepositoryImpl.java Mon May 4 13:34:32 2009 @@ -55,6 +55,9 @@ private RepositoryImpl(RepositoryConfig config) throws RepositoryException { this.config = config; descriptors = config.getRepositoryService().getRepositoryDescriptors(); + + // Remove features that are not (yet) supported through the SPI layer + descriptors.remove(Repository.OPTION_SHAREABLE_NODES_SUPPORTED); } public static Repository create(RepositoryConfig config) throws RepositoryException {