You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "Glen Mazza (JIRA)" <ji...@apache.org> on 2014/03/15 03:54:42 UTC
[jira] [Resolved] (ROL-1907) Inefficient use of key set iterator.
[ https://issues.apache.org/jira/browse/ROL-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Glen Mazza resolved ROL-1907.
-----------------------------
Resolution: Fixed
Fix Version/s: 5.1
Fixed in all 10 places Sonar was complaining, thanks.
> Inefficient use of key set iterator.
> ------------------------------------
>
> Key: ROL-1907
> URL: https://issues.apache.org/jira/browse/ROL-1907
> Project: Apache Roller
> Issue Type: Improvement
> Reporter: Shelan Perera
> Priority: Minor
> Fix For: 5.1
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)