[ 
https://issues.apache.org/jira/browse/JCR-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jukka Zitting resolved JCR-1445.
--------------------------------

    Resolution: Fixed
      Assignee: Jukka Zitting

Patch applied in revision 691313. Thanks!

> [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
>            Reporter: Dave Brosius
>            Assignee: Jukka Zitting
>            Priority: Trivial
>             Fix For: 1.5
>
>         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.

Reply via email to