directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r746608 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/OrNode.java
Date Sun, 22 Feb 2009 01:19:55 GMT
Author: elecharny
Date: Sun Feb 22 01:19:55 2009
New Revision: 746608

URL: http://svn.apache.org/viewvc?rev=746608&view=rev
Log:
The OrNode.equals() method has the same bug (described by DIRSHARED-24) than the AndNode.equals()
method. Fixed

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/OrNode.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/OrNode.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/OrNode.java?rev=746608&r1=746607&r2=746608&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/OrNode.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/OrNode.java
Sun Feb 22 01:19:55 2009
@@ -217,7 +217,7 @@
         for ( int i = 0; i < children.size(); i++ )
         {
             ExprNode child = children.get( i );
-            ExprNode otherChild = children.get( i );
+            ExprNode otherChild = otherChildren.get( i );
             
             if ( !child.equals( otherChild ) )
             {



Mime
View raw message