directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r429504 - /directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java
Date Mon, 07 Aug 2006 22:51:48 GMT
Author: akarasulu
Date: Mon Aug  7 15:51:47 2006
New Revision: 429504

URL: http://svn.apache.org/viewvc?rev=429504&view=rev
Log:
DIRSERVER-697 fix: modifyDn operation was failing and could not find correct entry to modify

Modified:
    directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java
URL: http://svn.apache.org/viewvc/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java?rev=429504&r1=429503&r2=429504&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java
(original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java
Mon Aug  7 15:51:47 2006
@@ -1017,7 +1017,7 @@
      */
     public Name add( Rdn newRdn ) throws InvalidNameException
     {
-        rdns.add( rdns.size() - 1, newRdn );
+        rdns.add( 0, newRdn );
         normalizeInternal();
         toUpName();
 



Mime
View raw message