You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2010/03/28 20:14:57 UTC

svn commit: r928464 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/DN.java

Author: seelmann
Date: Sun Mar 28 18:14:57 2010
New Revision: 928464

URL: http://svn.apache.org/viewvc?rev=928464&view=rev
Log:
Some clarification in javadoc

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/DN.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/DN.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/DN.java?rev=928464&r1=928463&r2=928464&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/DN.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/DN.java Sun Mar 28 18:14:57 2010
@@ -590,11 +590,11 @@ public class DN implements Cloneable, Se
 
     /**
      * Tells if the current DN is a parent of another DN.<br>
-     * For instance, <b>dc=com</b> is a child
+     * For instance, <b>dc=com</b> is a parent
      * of <b>dc=example, dc=com</b>
      * 
      * @param dn The child
-     * @return true if the given DN is a child of the current DN 
+     * @return true if the current DN is a parent of the given DN
      */
     public boolean isParentOf( String dn )
     {
@@ -611,11 +611,11 @@ public class DN implements Cloneable, Se
 
     /**
      * Tells if the current DN is a parent of another DN.<br>
-     * For instance, <b>dc=com</b> is a child
+     * For instance, <b>dc=com</b> is a parent
      * of <b>dc=example, dc=com</b>
      * 
      * @param dn The child
-     * @return true if the given DN is a child of the current DN 
+     * @return true if the current DN is a parent of the given DN
      */
     public boolean isParentOf( DN dn )
     {
@@ -634,7 +634,7 @@ public class DN implements Cloneable, Se
      * of <b>dc=com</b>
      * 
      * @param dn The parent
-     * @return true if the given DN is a parent of the current DN 
+     * @return true if the current DN is a child of the given DN
      */
     public boolean isChildOf( String dn )
     {
@@ -655,7 +655,7 @@ public class DN implements Cloneable, Se
      * of <b>dc=com</b>
      * 
      * @param dn The parent
-     * @return true if the given DN is a parent of the current DN 
+     * @return true if the current DN is a child of the given DN
      */
     public boolean isChildOf( DN dn )
     {