directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r225407 - in /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo: AbandonRequest.java LdapMessage.java
Date Tue, 26 Jul 2005 21:55:31 GMT
Author: elecharny
Date: Tue Jul 26 14:55:24 2005
New Revision: 225407

URL: http://svn.apache.org/viewcvs?rev=225407&view=rev
Log:
Ooops, the error was correct... Rollbacked.

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/AbandonRequest.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessage.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/AbandonRequest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/AbandonRequest.java?rev=225407&r1=225406&r2=225407&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/AbandonRequest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/AbandonRequest.java
Tue Jul 26 14:55:24 2005
@@ -76,7 +76,7 @@
      */
     public int computeLength()
     {
-        return 1 + 1 + Length.getBytes( messageId ).length;
+        return 1 + 1 + Length.getNbBytes( messageId );
     }
     
     /**

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessage.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessage.java?rev=225407&r1=225406&r2=225407&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessage.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessage.java
Tue Jul 26 14:55:24 2005
@@ -391,7 +391,7 @@
         // - the tag (0x02), 1 byte
         // - the length of the Id length, 1 byte
         // - the Id length, 1 to 4 bytes
-        int ldapMessageLength = 1 + 1 + Length.getBytes(messageId).length;
+        int ldapMessageLength = 1 + 1 + Length.getNbBytes(messageId);
         
         // Get the protocolOp length
         int protocolOpLength = protocolOp.computeLength();



Mime
View raw message