jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r544279 - /jackrabbit/branches/1.3/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemImpl.java
Date Mon, 04 Jun 2007 21:31:31 GMT
Author: jukka
Date: Mon Jun  4 14:31:28 2007
New Revision: 544279

URL: http://svn.apache.org/viewvc?view=rev&rev=544279
Log:
1.3: Merged revision 537122 (JCR-911)

Modified:
    jackrabbit/branches/1.3/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemImpl.java

Modified: jackrabbit/branches/1.3/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/1.3/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemImpl.java?view=diff&rev=544279&r1=544278&r2=544279
==============================================================================
--- jackrabbit/branches/1.3/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemImpl.java
(original)
+++ jackrabbit/branches/1.3/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemImpl.java
Mon Jun  4 14:31:28 2007
@@ -1396,12 +1396,15 @@
     }
 
     /**
-     * {@inheritDoc}
+     * Returns the session associated with this item.
+     * <p>
+     * Since Jackrabbit 1.4 it is safe to use this method regardless
+     * of item state.
+     *
+     * @see http://issues.apache.org/jira/browse/JCR-911
+     * @return current session
      */
-    public Session getSession() throws RepositoryException {
-        // check state of this instance
-        sanityCheck();
-
+    public Session getSession() {
         return session;
     }
 



Mime
View raw message