You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by an...@apache.org on 2012/07/19 15:07:17 UTC

svn commit: r1363320 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/Tree.java

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();