directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r618078 - /directory/studio/trunk/studio-connection-core/src/main/java/org/apache/directory/studio/connection/core/DnUtils.java
Date Sun, 03 Feb 2008 20:38:51 GMT
Author: seelmann
Date: Sun Feb  3 12:38:51 2008
New Revision: 618078

URL: http://svn.apache.org/viewvc?rev=618078&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=618078&r1=618077&r2=618078&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 12:38:51 2008
@@ -126,8 +126,8 @@
         }
         else
         {
-            LdapDN parent = ( LdapDN ) dn.getSuffix( suffix.size() - 1 );
-            return parent;
+            LdapDN prefix = ( LdapDN ) dn.getSuffix( suffix.size() );
+            return prefix;
         }
     }
 



Mime
View raw message