[
https://issues.apache.org/jira/browse/JCR-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dave Brosius updated JCR-1445:
------------------------------
Priority: Trivial (was: Major)
> [PATCH] Use entrySet iterators to avoid map look ups in loops
> -------------------------------------------------------------
>
> Key: JCR-1445
> URL: https://issues.apache.org/jira/browse/JCR-1445
> Project: Jackrabbit
> Issue Type: Improvement
> Components: jackrabbit-core
> Affects Versions: core 1.4.1
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: core 1.4.2
>
> Attachments: use_entry_sets.patch
>
>
> Code uses a keySet iterator in a loop, then does a map look up using the key
> retrieved from the iterator.
> Might as well use an entrySet iterator to avoid n map lookups.
> Patch does this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.