directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1063056 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapEncoder.java
Date Mon, 24 Jan 2011 23:17:23 GMT
Author: akarasulu
Date: Mon Jan 24 23:17:22 2011
New Revision: 1063056

URL: http://svn.apache.org/viewvc?rev=1063056&view=rev
Log:
got rid of compiler issue in IDEA

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapEncoder.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapEncoder.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapEncoder.java?rev=1063056&r1=1063055&r2=1063056&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapEncoder.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapEncoder.java
Mon Jan 24 23:17:22 2011
@@ -616,7 +616,9 @@ public class LdapEncoder
         int avaLength = 1 + TLV.getNbBytes( attributeIdBytes.length ) + attributeIdBytes.length;
         compareRequest.setAttrIdBytes( attributeIdBytes );
 
-        if ( compareRequest.getAssertionValue() instanceof BinaryValue)
+        org.apache.directory.shared.ldap.model.entry.Value assertionValue = compareRequest.getAssertionValue();
+
+        if ( assertionValue instanceof BinaryValue )
         {
             byte[] value = compareRequest.getAssertionValue().getBytes();
             avaLength += 1 + TLV.getNbBytes( value.length ) + value.length;



Mime
View raw message