directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r493854 - /directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapResult.java
Date Sun, 07 Jan 2007 21:36:39 GMT
Author: elecharny
Date: Sun Jan  7 13:36:38 2007
New Revision: 493854

URL: http://svn.apache.org/viewvc?view=rev&rev=493854
Log:
Fixed DIRSERVER-815 : remove the spaces left on the left of a MatchedDN

Modified:
    directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapResult.java

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapResult.java
URL: http://svn.apache.org/viewvc/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapResult.java?view=diff&rev=493854&r1=493853&r2=493854
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapResult.java
(original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapResult.java
Sun Jan  7 13:36:38 2007
@@ -267,7 +267,7 @@
         }
         else
         {
-            matchedDNBytes = StringTools.getBytesUtf8( matchedDN.getUpName() );
+            matchedDNBytes = StringTools.getBytesUtf8( StringTools.trimLeft( matchedDN.getUpName()
) );
             ldapResultLength += 1 + TLV.getNbBytes( matchedDNBytes.length ) + matchedDNBytes.length;
         }
 



Mime
View raw message