directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r267378 - /directory/shared/ldap/branches/new-codec-integration/snacc-provider/src/java/org/apache/ldap/common/berlib/snacc/CompareRequestTransform.java
Date Sat, 03 Sep 2005 01:22:57 GMT
Author: elecharny
Date: Fri Sep  2 18:22:53 2005
New Revision: 267378

URL: http://svn.apache.org/viewcvs?rev=267378&view=rev
Log:
As we must store byte[] instead on String in attribute values, changed the code accordingly

Modified:
    directory/shared/ldap/branches/new-codec-integration/snacc-provider/src/java/org/apache/ldap/common/berlib/snacc/CompareRequestTransform.java

Modified: directory/shared/ldap/branches/new-codec-integration/snacc-provider/src/java/org/apache/ldap/common/berlib/snacc/CompareRequestTransform.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/snacc-provider/src/java/org/apache/ldap/common/berlib/snacc/CompareRequestTransform.java?rev=267378&r1=267377&r2=267378&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/snacc-provider/src/java/org/apache/ldap/common/berlib/snacc/CompareRequestTransform.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/snacc-provider/src/java/org/apache/ldap/common/berlib/snacc/CompareRequestTransform.java
Fri Sep  2 18:22:53 2005
@@ -57,7 +57,7 @@
 
         // Set the attribute's id and value used in the comparison
         AttributeValueAssertion l_ava = l_snaccRequest.ava ;
-        l_request.setAssertionValue( new String( l_ava.assertionValue ) ) ;
+        l_request.setAssertionValue( new String( l_ava.assertionValue ).getBytes() ) ;
         l_request.setAttributeId( new String( l_ava.attributeDesc ) ) ;
 
         return l_request ;
@@ -86,7 +86,7 @@
         l_ava.attributeDesc = a_request.getAttributeId().getBytes() ;
 
         // Set the attribute's value to be used in the comparison
-        l_ava.assertionValue = a_request.getAssertionValue().getBytes() ;
+        l_ava.assertionValue = a_request.getAssertionValue() ;
 
         return l_snaccMessage ;
     }



Mime
View raw message