directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1670024 - /directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifReader.java
Date Mon, 30 Mar 2015 09:27:36 GMT
Author: elecharny
Date: Mon Mar 30 09:27:36 2015
New Revision: 1670024

URL: http://svn.apache.org/r1670024
Log:
Fix for DIRAP-229 : we don't lowercase the AttributeTypes during a LDIF parsing

Modified:
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifReader.java

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifReader.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifReader.java?rev=1670024&r1=1670023&r2=1670024&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifReader.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifReader.java
Mon Mar 30 09:27:36 2015
@@ -982,7 +982,7 @@ public class LdifReader implements Itera
 
         if ( colonIndex != -1 )
         {
-            String attributeType = Strings.toLowerCase( line ).substring( 0, colonIndex );
+            String attributeType = line.substring( 0, colonIndex );
             Object attributeValue = parseSimpleValue( line, colonIndex );
 
             // Create an attribute



Mime
View raw message