jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r918400 - in /jackrabbit/trunk: jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/ItemImpl.java jackrabbit-spi2jcr/pom.xml
Date Wed, 03 Mar 2010 10:59:57 GMT
Author: angela
Date: Wed Mar  3 10:59:56 2010
New Revision: 918400

URL: http://svn.apache.org/viewvc?rev=918400&view=rev
Log:
JCR-2529: jcr2spi: Remove sanityCheck() from ItemImpl.getSession()

... and adjust the known issues in spi2jcr

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/ItemImpl.java
    jackrabbit/trunk/jackrabbit-spi2jcr/pom.xml

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/ItemImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/ItemImpl.java?rev=918400&r1=918399&r2=918400&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/ItemImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/ItemImpl.java
Wed Mar  3 10:59:56 2010
@@ -161,10 +161,13 @@
     }
 
     /**
+     * Note: as of 2.x this method returns the session irrespective of the item's
+     * status.
+     * 
      * @see javax.jcr.Item#getSession()
+     * @see <a href="http://issues.apache.org/jira/browse/JCR-2529">Issue JCR-2529</a>
      */
     public Session getSession() throws RepositoryException {
-        checkStatus();
         return session;
     }
 

Modified: jackrabbit/trunk/jackrabbit-spi2jcr/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi2jcr/pom.xml?rev=918400&r1=918399&r2=918400&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi2jcr/pom.xml (original)
+++ jackrabbit/trunk/jackrabbit-spi2jcr/pom.xml Wed Mar  3 10:59:56 2010
@@ -58,7 +58,6 @@
                 org.apache.jackrabbit.jcr2spi.name.NamespaceRegistryTest#testRegisteredNamespaceVisibility
                 org.apache.jackrabbit.test.api.ShareableNodeTest
                 org.apache.jackrabbit.test.api.version.simple
-                org.apache.jackrabbit.test.api.version.ActivitiesTest#testActivitiesRelation
                 org.apache.jackrabbit.test.api.LifecycleTest
               </value>
             </property>



Mime
View raw message