[
https://issues.apache.org/jira/browse/PDFBOX-5574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-5574:
------------------------------------
Affects Version/s: 3.0.0 PDFBox
> 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
> 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]