You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by tr...@apache.org on 2005/09/30 06:37:43 UTC

svn commit: r292629 - /directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authz/support/MaxImmSubFilter.java

Author: trustin
Date: Thu Sep 29 21:37:39 2005
New Revision: 292629

URL: http://svn.apache.org/viewcvs?rev=292629&view=rev
Log:
Fixed a bug that MaxImmSubFilter behaves in an opposite way.

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authz/support/MaxImmSubFilter.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authz/support/MaxImmSubFilter.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authz/support/MaxImmSubFilter.java?rev=292629&r1=292628&r2=292629&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authz/support/MaxImmSubFilter.java (original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authz/support/MaxImmSubFilter.java Thu Sep 29 21:37:39 2005
@@ -85,7 +85,7 @@
                     }
     
                     ProtectedItem.MaxImmSub mis = ( ProtectedItem.MaxImmSub ) item;
-                    if( mis.getValue() >= immSubCount )
+                    if( immSubCount >= mis.getValue() )
                     {
                         i.remove();
                         break;