directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1000983 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/tree/DnNode.java
Date Fri, 24 Sep 2010 17:22:28 GMT
Author: elecharny
Date: Fri Sep 24 17:22:28 2010
New Revision: 1000983

URL: http://svn.apache.org/viewvc?rev=1000983&view=rev
Log:
Updated the Javadoc

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/tree/DnNode.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/tree/DnNode.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/tree/DnNode.java?rev=1000983&r1=1000982&r2=1000983&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/tree/DnNode.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/tree/DnNode.java
Fri Sep 24 17:22:28 2010
@@ -38,8 +38,10 @@ import org.slf4j.LoggerFactory;
  * An class for nodes in a tree designed to quickly lookup hierarchical DN.
  * Branch nodes in this tree refers to child nodes. Leaf nodes in the tree
  * don't have any children. <br/>
- * A node may cotain a reference to an object whose suffix is the path through the
- * nodes of the tree from the root.
+ * A node may contain a reference to an object whose suffix is the path through the
+ * nodes of the tree from the root. <br/>
+ * A node may also have no attached element.<br/>
+ * Each node is referenced by a RDN, and holds the full DN corresponding to its position<br/>
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
@@ -408,7 +410,8 @@ public class DnNode<N> implements Clonea
 
 
     /**
-     * Add a new node in the tree. We can't add a node if its DN is empty.
+     * Add a new node in the tree. We can't add a node if its DN is empty. The
+     * added element is attached to the node, which is named by the DN's RDN.<br/>
      *
      * @param dn The node's DN
      * @param element The element to associate with this Node. Can be null.



Mime
View raw message