directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r239486 - /directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/Control.java
Date Tue, 23 Aug 2005 23:51:30 GMT
Author: elecharny
Date: Tue Aug 23 16:51:28 2005
New Revision: 239486

URL: http://svn.apache.org/viewcvs?rev=239486&view=rev
Log:
The controlValue is returned as a byte[], not anymore as a String (It's an OCTET STRING)

Modified:
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/Control.java

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/Control.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/Control.java?rev=239486&r1=239485&r2=239486&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/Control.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/Control.java
Tue Aug 23 16:51:28 2005
@@ -76,9 +76,9 @@
      *
      * @return The control value
      */
-    public String getControlValue()
+    public byte[] getControlValue()
     {
-        return (controlValue == null ? "" : controlValue.toString() );
+        return controlValue == null ? new byte[]{} : controlValue.getValue();
     }
 
     /**



Mime
View raw message