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 2009/02/22 02:19:55 UTC

svn commit: r746608 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/OrNode.java

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 ) )
             {