directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 30955 - incubator/directory/snickers/trunk/ber-codec/src/java/org/apache/snickers/ber
Date Fri, 30 Jul 2004 00:57:45 GMT
Author: akarasulu
Date: Thu Jul 29 17:57:42 2004
New Revision: 30955

Modified:
   incubator/directory/snickers/trunk/ber-codec/src/java/org/apache/snickers/ber/Tuple.java
Log:
Fixed nasty bug where index accounting got messed up because we were 
incorrectly mistaking a BOOLEAN tag as the indeterminate form.  Now
the logic is straightened out.  All test pass once again.


Modified: incubator/directory/snickers/trunk/ber-codec/src/java/org/apache/snickers/ber/Tuple.java
==============================================================================
--- incubator/directory/snickers/trunk/ber-codec/src/java/org/apache/snickers/ber/Tuple.java
(original)
+++ incubator/directory/snickers/trunk/ber-codec/src/java/org/apache/snickers/ber/Tuple.java
Thu Jul 29 17:57:42 2004
@@ -292,7 +292,7 @@
      */
     public boolean isIndefinateTerminator()
     {
-        return isPrimitive && ( id + length ) <= 0 && 
+        return isPrimitive && id == 0 && length <= 0 && 
             typeClass.equals( TypeClass.UNIVERSAL ) ;
     }
     

Mime
View raw message