[ 
https://issues.apache.org/jira/browse/PDFBOX-5998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17949295#comment-17949295
 ] 

ASF subversion and git services commented on PDFBOX-5998:
---------------------------------------------------------

Commit 1925399 from le...@apache.org in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1925399 ]

PDFBOX-5998: revert some of the changes as putIfAbsent isn't available in java 6

> 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: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to