jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1451565 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/TreeLocation.java
Date Fri, 01 Mar 2013 11:25:00 GMT
Author: mduerig
Date: Fri Mar  1 11:25:00 2013
New Revision: 1451565

URL: http://svn.apache.org/r1451565
Log:
OAK-598: TreeLocation#NULL allows to reveal the existence of items that are not accessible
clarify contract of exist()

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/TreeLocation.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/TreeLocation.java?rev=1451565&r1=1451564&r2=1451565&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/TreeLocation.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/api/TreeLocation.java
Fri Mar  1 11:25:00 2013
@@ -57,7 +57,8 @@ public interface TreeLocation {
      * Determine whether the underlying {@link org.apache.jackrabbit.oak.api.Tree} or
      * {@link org.apache.jackrabbit.oak.api.PropertyState} for this {@code TreeLocation}
      * is available.
-     * @return  {@code true} if either {@link #getTree()} or {@link #getParent()} is non
{@code null}.
+     * @return  {@code true} if either {@link #getTree()} or {@link #getProperty()} is non
{@code null}.
+     *          and {@link #getStatus()} is not {{@link Status#DISCONNECTED}}.
      * {@code false} otherwise.
      */
     boolean exists();



Mime
View raw message