[jbossseam-issues] [JBoss JIRA] Created: (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:06:37 EST 2008
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
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