directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r536647 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
Date Wed, 09 May 2007 20:11:24 GMT
Author: elecharny
Date: Wed May  9 13:11:24 2007
New Revision: 536647

URL: http://svn.apache.org/viewvc?view=rev&rev=536647
Log:
Used the lowerCaseAscii method instead of toLowerCase

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

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java?view=diff&rev=536647&r1=536646&r2=536647
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
Wed May  9 13:11:24 2007
@@ -945,7 +945,7 @@
 
                     for ( int i = 0; i < binaryArray.length; i++ )
                     {
-                        binaries.add( StringTools.lowerCase( StringTools.trim( binaryArray[i]
) ) );
+                        binaries.add( StringTools.lowerCaseAscii( StringTools.trim( binaryArray[i]
) ) );
                     }
                 }
 
@@ -974,9 +974,10 @@
 
                 // add the lowercased name for the names for the attributeType
                 String[] names = type.getNames();
+                
                 for ( int ii = 0; ii < names.length; ii++ )
                 {
-                    binaries.add( StringTools.lowerCase( StringTools.trim( names[ii] ) )
);
+                    binaries.add( StringTools.lowerCaseAscii( StringTools.trim( names[ii]
) ) );
                 }
             }
         }



Mime
View raw message