directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r345787 - /directory/shared/ldap/trunk/apache2-provider/src/main/java/org/apache/asn1new/ldap/codec/grammar/CompareRequestGrammar.java
Date Sun, 20 Nov 2005 22:35:37 GMT
Author: elecharny
Date: Sun Nov 20 14:35:33 2005
New Revision: 345787

URL: http://svn.apache.org/viewcvs?rev=345787&view=rev
Log:
Fixed a ClassCastException when in Debug mode

Modified:
    directory/shared/ldap/trunk/apache2-provider/src/main/java/org/apache/asn1new/ldap/codec/grammar/CompareRequestGrammar.java

Modified: directory/shared/ldap/trunk/apache2-provider/src/main/java/org/apache/asn1new/ldap/codec/grammar/CompareRequestGrammar.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/trunk/apache2-provider/src/main/java/org/apache/asn1new/ldap/codec/grammar/CompareRequestGrammar.java?rev=345787&r1=345786&r2=345787&view=diff
==============================================================================
--- directory/shared/ldap/trunk/apache2-provider/src/main/java/org/apache/asn1new/ldap/codec/grammar/CompareRequestGrammar.java
(original)
+++ directory/shared/ldap/trunk/apache2-provider/src/main/java/org/apache/asn1new/ldap/codec/grammar/CompareRequestGrammar.java
Sun Nov 20 14:35:33 2005
@@ -272,7 +272,7 @@
 
                                 if ( log.isDebugEnabled() )
                                 {
-                                    log.debug( "Comparing attribute value " + compareRequest.getAssertionValue()
);
+                                    log.debug( "Comparing attribute value " + StringUtils.dumpBytes(
(byte[])compareRequest.getAssertionValue() ) );
                                 }
                             }
                             else
@@ -281,7 +281,7 @@
 
                                 if ( log.isDebugEnabled() )
                                 {
-                                    log.debug( "Comparing attribute value " + StringUtils.dumpBytes(
(byte[])compareRequest.getAssertionValue() ) );
+                                    log.debug( "Comparing attribute value " + compareRequest.getAssertionValue()
);
                                 }
                             }
                         }



Mime
View raw message