[
https://issues.apache.org/jira/browse/PDFBOX-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17003599#comment-17003599
]
Maruan Sahyoun edited comment on PDFBOX-4669 at 12/26/19 12:50 PM:
-------------------------------------------------------------------
removeAll/retainAll won't show an issue after the fixes (also need to ensure
proper update of the underlying COSArray).
Now - I'd also like to implement {{equals}} and {{hashCode}} for
{{COSDictionary}} where two dictionaries are equal if their string
representation is equal - WDYT? Otherwise we need to put in individual fixes
for annotations and similar objects such as fields whereas when adding to
COSDictionary there will be less specific code.
was (Author: msahyoun):
removeAll/retainAll won't show an issue after the fixes (also need to ensure
proper update of the underlying COSArray).
Now - I'd also like to implement \{equals] and {hashSet} for \{COSDictionary}
where two dictionaries are equal if their string representation is equal -
WDYT? Otherwise we need to put in individual fixes for annotations and similar
objects such as fields whereas when adding to COSDictionary there will be less
specific code.
> Ensure proper functionality of COSArrayList
> -------------------------------------------
>
> Key: PDFBOX-4669
> URL: https://issues.apache.org/jira/browse/PDFBOX-4669
> Project: PDFBox
> Issue Type: Sub-task
> Components: PDModel
> Affects Versions: 2.0.17, 3.0.0 PDFBox
> Reporter: Maruan Sahyoun
> Assignee: Maruan Sahyoun
> Priority: Major
>
> The current COSArrayList implementation has some glitches as pointed out at
> https://stackoverflow.com/questions/45812696/
> In addition when working with {{AnnotationFilter}} as the
> adding/update/removal is index based the wron index of the underlying
> {{COSArray}} is affected.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]