[
https://issues.apache.org/jira/browse/PDFBOX-5574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-5574.
-------------------------------------
Assignee: Tilman Hausherr
Resolution: Fixed
Thanks!
> simplify map operations
> -----------------------
>
> Key: PDFBOX-5574
> URL: https://issues.apache.org/jira/browse/PDFBOX-5574
> Project: PDFBox
> Issue Type: Improvement
> Affects Versions: 3.0.0 PDFBox
> Reporter: Axel Howind
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 3.0.0 PDFBox
>
> Attachments: simplify_map_operations.patch
>
>
> simplify operations on Map instances:
> - avoid unnecessary map.get() calls by iterating over entry sets instead key
> sets where possible
> - avoid accessing the same map entry multiple times by using
> map.computeIfAbsent(), map.putIfAbsent() etc.
> - use bulk operations where possible
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]