Author: angela
Date: Thu Jul 19 13:07:17 2012
New Revision: 1363320

URL: http://svn.apache.org/viewvc?rev=1363320&view=rev
Log:
OAK-192: Define behavior of Tree#getParent() if the parent is not accessible

Modified:
    
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/Tree.java

Modified: 
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/Tree.java
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/Tree.java?rev=1363320&r1=1363319&r2=1363320&view=diff
==============================================================================
--- 
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/Tree.java
 (original)
+++ 
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/Tree.java
 Thu Jul 19 13:07:17 2012
@@ -89,7 +89,9 @@ public interface Tree {
     String getPath();
 
     /**
-     * @return  the parent of this {@code Tree} instance or {@code null} for 
the root.
+     * @return the parent of this {@code Tree} instance. This method returns
+     * {@code null} if the parent is not accessible or if no parent exists 
(root
+     * node).
      */
     @CheckForNull
     Tree getParent();


Reply via email to