directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r583407 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/event/LeafEvaluator.java
Date Wed, 10 Oct 2007 09:29:02 GMT
Author: elecharny
Date: Wed Oct 10 02:29:01 2007
New Revision: 583407

URL: http://svn.apache.org/viewvc?rev=583407&view=rev
Log:
Completed a test to handle a special case

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/event/LeafEvaluator.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/event/LeafEvaluator.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/event/LeafEvaluator.java?rev=583407&r1=583406&r2=583407&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/event/LeafEvaluator.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/event/LeafEvaluator.java
Wed Oct 10 02:29:01 2007
@@ -355,9 +355,9 @@
                 throw new NamingException( "Unknown match type: " + matchType );
         }
 
-        if ( mrule == null )
+        if ( ( mrule == null ) && ( matchType != EQUALITY_MATCH ) )
         {
-            return type.getEquality();
+            mrule = type.getEquality();
         }
         
         return mrule;



Mime
View raw message