directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r536636 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/MessageDecoder.java
Date Wed, 09 May 2007 20:00:49 GMT
Author: elecharny
Date: Wed May  9 13:00:48 2007
New Revision: 536636

URL: http://svn.apache.org/viewvc?view=rev&rev=536636
Log:
Used the lowerCaseAscii instead of the existing lowerCase method : it's much faster 
when the String is known to contains only Ascii chars

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/MessageDecoder.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/MessageDecoder.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/MessageDecoder.java?view=diff&rev=536636&r1=536635&r2=536636
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/MessageDecoder.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/message/MessageDecoder.java
Wed May  9 13:00:48 2007
@@ -117,7 +117,7 @@
 
                     for ( String binary:binaryArray )
                     {
-                        binaries.add( StringTools.lowerCase( StringTools.trim( binary ) )
);
+                        binaries.add( StringTools.lowerCaseAscii( StringTools.trim( binary
) ) );
                     }
                 }
             } // if already parsed and set as a collection use it



Mime
View raw message