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 2006/01/02 17:22:13 UTC
svn commit: r365373 -
/directory/trunk/ldap-common/src/main/java/org/apache/asn1new/ldap/codec/grammar/FilterGrammar.java
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 )
{