directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r499999 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java
Date Thu, 25 Jan 2007 21:32:13 GMT
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() ) );
     }
 
 



Mime
View raw message