jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1344628 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java
Date Thu, 31 May 2012 09:56:54 GMT
Author: angela
Date: Thu May 31 09:56:54 2012
New Revision: 1344628

URL: http://svn.apache.org/viewvc?rev=1344628&view=rev
Log:
minor improvement

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java?rev=1344628&r1=1344627&r2=1344628&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java
Thu May 31 09:56:54 2012
@@ -326,6 +326,7 @@ public class TreeImpl implements Tree, P
      *
      * @param destParent  new parent for this tree
      * @param destName  new name for this tree
+     * @return {@code true} if this tree was moved.
      */
     public boolean moveTo(TreeImpl destParent, String destName) {
         if (destParent.hasChild(destName)) {
@@ -340,14 +341,14 @@ public class TreeImpl implements Tree, P
         return true;
     }
 
-    //------------------------------------------------------------< RootImpl.Listener
>---
+    //--------------------------------------------------< RootImpl.Listener >---
 
     @Override
     public void purged() {
         nodeStateBuilder = null;
     }
 
-    //------------------------------------------------------------< protected >---
+    //----------------------------------------------------------< protected >---
 
     @CheckForNull
     protected NodeState getBaseState() {



Mime
View raw message