directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r491268 - /directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapResult.java
Date Sat, 30 Dec 2006 18:25:12 GMT
Author: elecharny
Date: Sat Dec 30 10:25:12 2006
New Revision: 491268

URL: http://svn.apache.org/viewvc?view=rev&rev=491268
Log:
Remove useless call of toString()

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=491268&r1=491267&r2=491268
==============================================================================
--- 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
Sat Dec 30 10:25:12 2006
@@ -609,7 +609,7 @@
         }
 
         sb.append( "            Matched DN : '" ).append( matchedDN == null ? "": matchedDN.toString()
).append( "'\n" );
-        sb.append( "            Error message : '" ).append( errorMessage == null ? "" :
errorMessage.toString() ).append( "'\n" );
+        sb.append( "            Error message : '" ).append( errorMessage == null ? "" :
errorMessage ).append( "'\n" );
 
         
         if ( ( referrals != null ) && ( referrals.size() != 0 ) )



Mime
View raw message