directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r536261 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java
Date Tue, 08 May 2007 17:25:48 GMT
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 )



Mime
View raw message