[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-3794) Method org.jboss.seam.remoting.Call.findMethod(String, Class) makes inefficient use of keySet iterator instead of entrySet iterator

Francisco Jose Peredo Noguez (JIRA) jira-events at lists.jboss.org
Thu Dec 4 21:10:36 EST 2008


     [ https://jira.jboss.org/jira/browse/JBSEAM-3794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francisco Jose Peredo Noguez updated JBSEAM-3794:
-------------------------------------------------

    Attachment: patch.txt


> 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
>         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