directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r927910 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultServerAttribute.java
Date Fri, 26 Mar 2010 15:20:49 GMT
Author: elecharny
Date: Fri Mar 26 15:20:46 2010
New Revision: 927910

URL: http://svn.apache.org/viewvc?rev=927910&view=rev
Log:
Fixed the error message by dumping the bytes

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultServerAttribute.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultServerAttribute.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultServerAttribute.java?rev=927910&r1=927909&r2=927910&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultServerAttribute.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultServerAttribute.java
Fri Mar 26 15:20:46 2010
@@ -310,7 +310,7 @@ public final class DefaultServerAttribut
                 catch( LdapException ne )
                 {
                     // The value can't be normalized : we don't add it.
-                    LOG.error( I18n.err( I18n.ERR_04449, val ) );
+                    LOG.error( I18n.err( I18n.ERR_04449, StringTools.dumpBytes( val ) ) );
                     return 0;
                 }
                 
@@ -320,7 +320,7 @@ public final class DefaultServerAttribut
                 }
                 else
                 {
-                    LOG.error( I18n.err( I18n.ERR_04450, val ) );
+                    LOG.error( I18n.err( I18n.ERR_04450, StringTools.dumpBytes( val ) ) );
                 }
             }
             



Mime
View raw message