directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 30894 - incubator/directory/snickers/trunk/ber-codec/src/java/org/apache/snickers/ber
Date Thu, 29 Jul 2004 04:49:25 GMT
Author: akarasulu
Date: Wed Jul 28 21:49:24 2004
New Revision: 30894

Modified:
   incubator/directory/snickers/trunk/ber-codec/src/java/org/apache/snickers/ber/Tuple.java
Log:
fixed bug to detect indeterminate terminators

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
Wed Jul 28 21:49:24 2004
@@ -292,7 +292,7 @@
      */
     public boolean isIndefinateTerminator()
     {
-        return isPrimitive && ( id + length ) == 0 && 
+        return isPrimitive && ( id + length ) <= 0 && 
             typeClass.equals( TypeClass.UNIVERSAL ) ;
     }
     

Mime
View raw message