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 2005/09/04 11:18:02 UTC
svn commit: r278567 -
/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/SearchResultEntry.java
Author: elecharny
Date: Sun Sep 4 02:17:57 2005
New Revision: 278567
URL: http://svn.apache.org/viewcvs?rev=278567&view=rev
Log:
Fix a bug in toString method
Modified:
directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/SearchResultEntry.java
Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/SearchResultEntry.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/SearchResultEntry.java?rev=278567&r1=278566&r2=278567&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/SearchResultEntry.java (original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/SearchResultEntry.java Sun Sep 4 02:17:57 2005
@@ -456,14 +456,7 @@
Object value = values.nextElement();
sb.append( " '" );
- if ( value instanceof String )
- {
- sb.append( value );
- }
- else
- {
- sb.append( StringUtils.dumpBytes( (byte[])value ) );
- }
+ sb.append( StringUtils.dumpBytes( ( (OctetString)value ).getValue() ) );
sb.append("'\n" );
}