directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r618107 - /directory/studio/trunk/studio-connection-core/src/main/java/org/apache/directory/studio/connection/core/DnUtils.java
Date Sun, 03 Feb 2008 22:24:32 GMT
Author: seelmann
Date: Sun Feb  3 14:24:25 2008
New Revision: 618107

URL: http://svn.apache.org/viewvc?rev=618107&view=rev
Log:
Fix for DIRSTUDIO-206

Modified:
    directory/studio/trunk/studio-connection-core/src/main/java/org/apache/directory/studio/connection/core/DnUtils.java

Modified: directory/studio/trunk/studio-connection-core/src/main/java/org/apache/directory/studio/connection/core/DnUtils.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-connection-core/src/main/java/org/apache/directory/studio/connection/core/DnUtils.java?rev=618107&r1=618106&r2=618107&view=diff
==============================================================================
--- directory/studio/trunk/studio-connection-core/src/main/java/org/apache/directory/studio/connection/core/DnUtils.java
(original)
+++ directory/studio/trunk/studio-connection-core/src/main/java/org/apache/directory/studio/connection/core/DnUtils.java
Sun Feb  3 14:24:25 2008
@@ -101,9 +101,9 @@
     {
         LdapDN ldapDn = ( LdapDN ) suffix.clone();
 
-        for ( Rdn rdn : prefix.getRdns() )
+        for ( int i = 0; i < prefix.size(); i++ )
         {
-            ldapDn.add( ( Rdn ) rdn.clone() );
+        	ldapDn.add( (Rdn) prefix.getRdn( i ).clone() );
         }
 
         return ldapDn;



Mime
View raw message