[jdom-interest] Bug in ContentList.addAll(int,Collection)
Bradley S. Huffman
hip at a.cs.okstate.edu
Thu Apr 17 19:08:36 PDT 2003
Patch to AttributeList to fix bug in AttributeList.addAll found
by Rolf Lear.
Brad
*** AttributeList.java Thu Apr 17 21:01:01 2003
--- AttributeList.new Thu Apr 17 20:55:14 2003
***************
*** 238,244 ****
}
catch (RuntimeException exception) {
for (int i = 0; i < count; i++) {
! remove(index + i);
}
throw exception;
}
--- 238,244 ----
}
catch (RuntimeException exception) {
for (int i = 0; i < count; i++) {
! remove(index);
}
throw exception;
}
More information about the jdom-interest
mailing list