seelmann closed pull request #1: DIRSTUDIO-861 - Strings.toLowerCase() 
shouldn't be used for attribute values.
URL: https://github.com/apache/directory-studio/pull/1
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/utils/Utils.java
 
b/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/utils/Utils.java
index cd33c380d..fb18393a3 100644
--- 
a/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/utils/Utils.java
+++ 
b/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/utils/Utils.java
@@ -130,7 +130,7 @@ private static String getOidString( Ava ava, Schema schema )
         String oid = schema != null ? schema.getAttributeTypeDescription( 
ava.getNormType() ).getOid() : ava
             .getNormType();
         return Strings.toLowerCase( Strings.trim( oid ) )
-            + "=" + Strings.toLowerCase( Strings.trim( 
ava.getValue().getString() ) ); //$NON-NLS-1$
+            + "=" + Strings.trim( ava.getValue().getString() ).toLowerCase(); 
//$NON-NLS-1$
     }
 
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to