directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 37087 - incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message
Date Thu, 26 Aug 2004 16:37:44 GMT
Author: akarasulu
Date: Thu Aug 26 09:37:43 2004
New Revision: 37087

Modified:
   incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/ExtendedRequestImpl.java
Log:
found bug where bytes were not being compared

Modified: incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/ExtendedRequestImpl.java
==============================================================================
--- incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/ExtendedRequestImpl.java
(original)
+++ incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/ExtendedRequestImpl.java
Thu Aug 26 09:37:43 2004
@@ -16,6 +16,8 @@
  */
 package org.apache.ldap.common.message;
 
+import org.apache.commons.lang.ArrayUtils;
+
 
 /**
  * Lockable ExtendedRequest implementation.
@@ -157,7 +159,7 @@
 
         if ( payload != null && req.getPayload() != null )
         {
-            if ( ! payload.equals( req.getPayload() ) )
+            if ( ! ArrayUtils.isEquals( payload, req.getPayload() ) )
             {
                 return false;
             }

Mime
View raw message