directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 36769 - incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message
Date Mon, 23 Aug 2004 18:11:40 GMT
Author: akarasulu
Date: Mon Aug 23 11:11:40 2004
New Revision: 36769

Modified:
   incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/SearchResponseDoneImpl.java
Log:
Added forgotten comparison of messageId in the equals method.


Modified: incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/SearchResponseDoneImpl.java
==============================================================================
--- incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/SearchResponseDoneImpl.java
(original)
+++ incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/SearchResponseDoneImpl.java
Mon Aug 23 11:11:40 2004
@@ -66,6 +66,12 @@
         }
 
         LdapResult result = ( ( SearchResponseDone ) obj ).getLdapResult();
+
+        if ( getMessageId() != ( ( SearchResponseDone ) obj).getMessageId() )
+        {
+            return false;
+        }
+
         if ( ! getLdapResult().equals( result ) )
         {
             return false;

Mime
View raw message