roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Johnson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ROL-1907) Inefficient use of key set iterator.
Date Sun, 06 Mar 2011 15:19:25 GMT

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

David Johnson commented on ROL-1907:
------------------------------------

I'm a little nervous about applying this patch, especially so close to release, does it effect
the ordering of items returned in the maps? 

> Inefficient use of key set iterator.
> ------------------------------------
>
>                 Key: ROL-1907
>                 URL: https://issues.apache.org/jira/browse/ROL-1907
>             Project: Roller
>          Issue Type: Improvement
>            Reporter: Shelan Perera
>            Assignee: Roller Unassigned
>            Priority: Minor
>         Attachments: keyset-improvement.patch
>
>
> use of keySet iterator instead of entrySet iterator.It is efficient to use entryset instead
of using .get(key) look up.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message