jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1330749 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/NodeStateBuilder.java
Date Thu, 26 Apr 2012 10:15:07 GMT
Author: mduerig
Date: Thu Apr 26 10:15:06 2012
New Revision: 1330749

URL: http://svn.apache.org/viewvc?rev=1330749&view=rev
Log:
OAK-18: Define Oak API
- fix javadoc

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/NodeStateBuilder.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/NodeStateBuilder.java?rev=1330749&r1=1330748&r2=1330749&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/NodeStateBuilder.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/NodeStateBuilder.java
Thu Apr 26 10:15:06 2012
@@ -49,9 +49,11 @@ public interface NodeStateBuilder {
     NodeStateBuilder addNode(String name, NodeState nodeState);
 
     /**
-     * Set or removes the named child node.
+     * Add the named child node if it doesn't already exist.
      *
      * @param name  name of the child node
+     * @return  a builder for the added child or {@code null} if such a child
+     * already exists
      */
     NodeStateBuilder addNode(String name);
 



Mime
View raw message