directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r232423 - in /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo: AddRequest.java ModifyRequest.java SearchResultEntry.java
Date Sat, 13 Aug 2005 06:08:56 GMT
Author: elecharny
Date: Fri Aug 12 23:08:52 2005
New Revision: 232423

URL: http://svn.apache.org/viewcvs?rev=232423&view=rev
Log:
Fixed a pb when dealing with attribute's names, which MUST be case
insensitive when stored.

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/AddRequest.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyRequest.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultEntry.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/AddRequest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/AddRequest.java?rev=232423&r1=232422&r2=232423&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/AddRequest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/AddRequest.java
Fri Aug 12 23:08:52 2005
@@ -128,7 +128,7 @@
      */
     public void addAttributeType( LdapString type )
     {
-        currentAttribute = new BasicAttribute( type.toString() );
+        currentAttribute = new BasicAttribute( type.toString().toLowerCase() );
         attributes.add( currentAttribute );
     }
 

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyRequest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyRequest.java?rev=232423&r1=232422&r2=232423&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyRequest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/ModifyRequest.java
Fri Aug 12 23:08:52 2005
@@ -153,7 +153,7 @@
      */
     public void addAttributeTypeAndValues( LdapString type )
     {
-        currentAttribute = new BasicAttribute( type.toString() );
+        currentAttribute = new BasicAttribute( type.toString().toLowerCase() );
 
         int operation = 0;
 

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultEntry.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultEntry.java?rev=232423&r1=232422&r2=232423&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultEntry.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchResultEntry.java
Fri Aug 12 23:08:52 2005
@@ -169,7 +169,7 @@
      */
     public void addAttributeValues( LdapString type )
     {
-        currentAttributeValue = new BasicAttribute( type.toString() );
+        currentAttributeValue = new BasicAttribute( type.toString().toLowerCase() );
 
         partialAttributeList.add( currentAttributeValue );
     }



Mime
View raw message