[
https://issues.apache.org/jira/browse/PDFBOX-5998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17949271#comment-17949271
]
ASF subversion and git services commented on PDFBOX-5998:
---------------------------------------------------------
Commit 1925396 from [email protected] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1925396 ]
PDFBOX-5998: avoid unnecessary map lookups based on a proposal by Axel Howind
> avoid unnecessary map lokups
> ----------------------------
>
> Key: PDFBOX-5998
> URL: https://issues.apache.org/jira/browse/PDFBOX-5998
> Project: PDFBox
> Issue Type: Improvement
> Affects Versions: 2.0.34, 3.0.5 PDFBox, 4.0.0
> Reporter: Axel Howind
> Assignee: Andreas Lehmkühler
> Priority: Minor
> Fix For: 2.0.35, 3.0.6 PDFBox, 4.0.0
>
> Attachments: avoid_unnecessary_map_lookups.patch
>
>
> In many places there are unnecessary map lookups, like calling containsKey()
> and then calling put(). This patch removes some of the unnecessary lookups.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]