directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r536641 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/modify/ModifyRequest.java
Date Wed, 09 May 2007 20:03:43 GMT
Author: elecharny
Date: Wed May  9 13:03:43 2007
New Revision: 536641

URL: http://svn.apache.org/viewvc?view=rev&rev=536641
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/codec/modify/ModifyRequest.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/modify/ModifyRequest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/modify/ModifyRequest.java?view=diff&rev=536641&r1=536640&r2=536641
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/modify/ModifyRequest.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/modify/ModifyRequest.java
Wed May  9 13:03:43 2007
@@ -180,7 +180,7 @@
      */
     public void addAttributeTypeAndValues( String type )
     {
-        currentAttribute = new AttributeImpl( StringTools.lowerCase( type ) );
+        currentAttribute = new AttributeImpl( StringTools.lowerCaseAscii( type ) );
 
         int operation = 0;
 



Mime
View raw message