You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2007/05/08 19:25:48 UTC

svn commit: r536261 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java

Author: elecharny
Date: Tue May  8 10:25:47 2007
New Revision: 536261

URL: http://svn.apache.org/viewvc?view=rev&rev=536261
Log:
Used the LdapDN.getNormName() instead of LdapDN.toString() method

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java?view=diff&rev=536261&r1=536260&r2=536261
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java (original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java Tue May  8 10:25:47 2007
@@ -384,7 +384,7 @@
     {
     	LdapDN dn = opContext.getDn();
     	
-        Long id = getEntryId( dn.toString() );
+        Long id = getEntryId( dn.getNormName() );
 
         // don't continue if id is null
         if ( id == null )