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 2007/12/09 02:05:13 UTC

svn commit: r602597 - /directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/entry/BinaryValue.java

Author: elecharny
Date: Sat Dec  8 17:05:12 2007
New Revision: 602597

URL: http://svn.apache.org/viewvc?rev=602597&view=rev
Log:
Fixed a wrong test in the equals() method

Modified:
    directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/entry/BinaryValue.java

Modified: directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/entry/BinaryValue.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/entry/BinaryValue.java?rev=602597&r1=602596&r2=602597&view=diff
==============================================================================
--- directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/entry/BinaryValue.java (original)
+++ directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/entry/BinaryValue.java Sat Dec  8 17:05:12 2007
@@ -183,7 +183,7 @@
             return true;
         }
 
-        if ( wrapped != binaryValue.wrapped  )
+        if ( isNull() != binaryValue.isNull() )
         {
             return false;
         }