directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r887261 - /directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/AbstractSchemaLoader.java
Date Fri, 04 Dec 2009 16:47:55 GMT
Author: elecharny
Date: Fri Dec  4 16:47:54 2009
New Revision: 887261

URL: http://svn.apache.org/viewvc?rev=887261&view=rev
Log:
Schema names must be case insensitive

Modified:
    directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/AbstractSchemaLoader.java

Modified: directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/AbstractSchemaLoader.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/AbstractSchemaLoader.java?rev=887261&r1=887260&r2=887261&view=diff
==============================================================================
--- directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/AbstractSchemaLoader.java
(original)
+++ directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/AbstractSchemaLoader.java
Fri Dec  4 16:47:54 2009
@@ -97,7 +97,7 @@
      */
     public Schema getSchema( String schemaName )
     {
-        return this.schemaMap.get( schemaName );
+        return this.schemaMap.get( StringTools.toLowerCase( schemaName ) );
     }
 
 



Mime
View raw message