[jbossseam-issues] [JBoss JIRA] Assigned: (JBSEAM-3794) Method org.jboss.seam.remoting.Call.findMethod(String, Class) makes inefficient use of keySet iterator instead of entrySet iterator
Norman Richards (JIRA)
jira-events at lists.jboss.org
Tue Dec 23 18:29:54 EST 2008
[ https://jira.jboss.org/jira/browse/JBSEAM-3794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Richards reassigned JBSEAM-3794:
---------------------------------------
Assignee: Norman Richards
> Method org.jboss.seam.remoting.Call.findMethod(String, Class) makes inefficient use of keySet iterator instead of entrySet iterator
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBSEAM-3794
> URL: https://jira.jboss.org/jira/browse/JBSEAM-3794
> Project: Seam
> Issue Type: Bug
> Reporter: Francisco Jose Peredo Noguez
> Assignee: Norman Richards
> Attachments: patch.txt
>
>
> for (Method m : candidates.keySet())
> {
> int thisScore = candidates.get(m).intValue(); <-- HERE!
> if (bestMethod == null || thisScore > bestScore)
> {
> bestMethod = m;
> bestScore = thisScore;
> }
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list