jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
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 GMT
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 {



Mime
View raw message