[OpenMap Users] RpfAttributes.read seem to contains a bug

From: Alexandre Gagnon <Alexandre_Gagnon_at_dmr.ca>
Date: Fri, 6 Jun 2008 07:29:13 -0700 (PDT)

Hi,

    First of all, I don't know if there another place for bug tracking.
Sorry if it is the case....

    It seems that method com.bbn.openmap.layer.rpf.RpfAttributes.read
contains a bug. The bug is in the following loop where the "i--"
instruction is present two times :

    for (i = attributeOffsetRecords.length - 1; i >= 0; i--) {
        attributeOffsetRecord = attributeOffsetRecords[i];
        ...
        i--;
    }

    It produces the effect that only half of attributes is read.

Alexandre
-- 
View this message in context: http://www.nabble.com/RpfAttributes.read-seem-to-contains-a-bug-tp17693490p17693490.html
Sent from the OpenMap mailing list archive at Nabble.com.
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Jun 06 2008 - 10:32:50 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT