Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.0.17
-
None
-
None
-
None
Description
for (Iterator itr = pdfPage.getAnnotations().iterator(); itr.hasNext(); ) {
itr.remove();
}
This is not working on annotations list because cosArrayList.iterator() is cosArrayList.actual.iterator(), but when convert to a COSArray it uses cosArrayList.array, which is not affected by iterator.remove(). A iterator to sync the actual and the array would be nice.