directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r191232 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/grammar/AbstractGrammar.java
Date Sat, 18 Jun 2005 00:27:54 GMT
Author: elecharny
Date: Fri Jun 17 17:27:54 2005
New Revision: 191232

URL: http://svn.apache.org/viewcvs?rev=191232&view=rev
Log:
Using the new tlvSize method instead of the previous one.

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/grammar/AbstractGrammar.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/grammar/AbstractGrammar.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/grammar/AbstractGrammar.java?rev=191232&r1=191231&r2=191232&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/grammar/AbstractGrammar.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ber/grammar/AbstractGrammar.java
Fri Jun 17 17:27:54 2005
@@ -105,7 +105,7 @@
 
         // We already are at the top level.
         // An exception will be thrown if the current length exceed the expected length
-        ( ( Asn1Object ) object ).addLength( expectedLength + tlvLength );
+        ( ( Asn1Object ) object ).addLength( tlvLength );
     }
 
     /**



Mime
View raw message