jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1335513 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionImpl.java
Date Tue, 08 May 2012 13:39:02 GMT
Author: thomasm
Date: Tue May  8 13:39:01 2012
New Revision: 1335513

URL: http://svn.apache.org/viewvc?rev=1335513&view=rev
Log:
OAK-15	 Clean up oak-jcr

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionImpl.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionImpl.java?rev=1335513&r1=1335512&r2=1335513&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionImpl.java
Tue May  8 13:39:01 2012
@@ -108,7 +108,7 @@ public class SessionImpl extends Abstrac
     @Override
     public Node getNodeByIdentifier(String id) throws RepositoryException {
         ensureIsAlive();
-
+        // TODO following line throws IndexOutOfBoundsException if id is empty
         if (id.charAt(0) == '/') {
             return getNode(id);
         } else {
@@ -253,7 +253,7 @@ public class SessionImpl extends Abstrac
     }
 
     //------------------------------------------------------------< private >---
-    
+
     /**
      * Ensure that this session is alive and throw an exception otherwise.
      *



Mime
View raw message