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/01/25 22:32:13 UTC

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

Author: elecharny
Date: Thu Jan 25 13:32:13 2007
New Revision: 499999

URL: http://svn.apache.org/viewvc?view=rev&rev=499999
Log:
Used the correct method instead of toString() which is semantically speakin, wrong

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=499999&r1=499998&r2=499999
==============================================================================
--- 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 Thu Jan 25 13:32:13 2007
@@ -435,7 +435,7 @@
 
     public Attributes lookup( LdapDN dn ) throws NamingException
     {
-        return lookup( getEntryId( dn.toString() ) );
+        return lookup( getEntryId( dn.getNormName() ) );
     }