directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r499777 - /directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/collective/CollectiveAttributeService.java
Date Thu, 25 Jan 2007 13:03:32 GMT
Author: elecharny
Date: Thu Jan 25 05:03:31 2007
New Revision: 499777

URL: http://svn.apache.org/viewvc?view=rev&rev=499777
Log:
Used AttributeUtils.containsValueCaseIgnore( attr, value) instead of
attr.contains( value )

Modified:
    directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/collective/CollectiveAttributeService.java

Modified: directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/collective/CollectiveAttributeService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/collective/CollectiveAttributeService.java?view=diff&rev=499777&r1=499776&r2=499777
==============================================================================
--- directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/collective/CollectiveAttributeService.java
(original)
+++ directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/collective/CollectiveAttributeService.java
Thu Jan 25 05:03:31 2007
@@ -35,6 +35,7 @@
 import org.apache.directory.shared.ldap.message.LockableAttributeImpl;
 import org.apache.directory.shared.ldap.name.LdapDN;
 import org.apache.directory.shared.ldap.schema.AttributeType;
+import org.apache.directory.shared.ldap.util.AttributeUtils;
 
 import javax.naming.NamingException;
 import javax.naming.NamingEnumeration;
@@ -113,7 +114,7 @@
         if ( collectiveExclusions != null )
         {
             if ( collectiveExclusions.contains( "2.5.18.0" )
-                || collectiveExclusions.contains( "excludeAllCollectiveAttributes" ) )
+                || AttributeUtils.containsValueCaseIgnore( collectiveExclusions, "excludeAllCollectiveAttributes"
) )
             {
                 return;
             }



Mime
View raw message