updateStats(received, xmit_requester, 1, 0, 0);
}
amISender=local_addr.equals(original_sender);
if(!amISender)
win=received_msgs.get(original_sender);
<BUG>list=new LinkedList();
</BUG>
for(long i=first_seqno; i <= last_seqno; i++) {
if(amISender) {
<BUG>m=(Message)sent_msgs.get(new Long(i)); // no need to synchronize
}</BUG>
else {

updateStats(received, xmit_requester, 1, 0, 0);
}
amISender=local_addr.equals(original_sender);
if(!amISender)
win=received_msgs.get(original_sender);
list=new LinkedList<Message>();
for(long i=first_seqno; i <= last_seqno; i++) {
if(amISender) {
m=sent_msgs.get(new Long(i)); // no need to synchronize
}
else {
