directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r365373 - /directory/trunk/ldap-common/src/main/java/org/apache/asn1new/ldap/codec/grammar/FilterGrammar.java
Date Mon, 02 Jan 2006 16:22:13 GMT
Author: elecharny
Date: Mon Jan  2 08:22:10 2006
New Revision: 365373

URL: http://svn.apache.org/viewcvs?rev=365373&view=rev
Log:
Fixed a ClassCastException due to a bad initialization

Modified:
    directory/trunk/ldap-common/src/main/java/org/apache/asn1new/ldap/codec/grammar/FilterGrammar.java

Modified: directory/trunk/ldap-common/src/main/java/org/apache/asn1new/ldap/codec/grammar/FilterGrammar.java
URL: http://svn.apache.org/viewcvs/directory/trunk/ldap-common/src/main/java/org/apache/asn1new/ldap/codec/grammar/FilterGrammar.java?rev=365373&r1=365372&r2=365373&view=diff
==============================================================================
--- directory/trunk/ldap-common/src/main/java/org/apache/asn1new/ldap/codec/grammar/FilterGrammar.java
(original)
+++ directory/trunk/ldap-common/src/main/java/org/apache/asn1new/ldap/codec/grammar/FilterGrammar.java
Mon Jan  2 08:22:10 2006
@@ -484,7 +484,7 @@
                         TLV tlv            = ldapMessageContainer.getCurrentTLV();
                         
                         // The value can be null.
-                        Object assertionValue = "";
+                        Object assertionValue = StringTools.EMPTY_BYTES;
 
                         if ( tlv.getLength().getLength() != 0 )
                         {



Mime
View raw message