Add break after finding Method in AutoComponentResolver invokeSetter
--------------------------------------------------------------------
Key: WICKET-3414
URL: https://issues.apache.org/jira/browse/WICKET-3414
Project: Wicket
Issue Type: Improvement
Components: wicket
Affects Versions: 1.5-RC1
Environment: all
Reporter: Richard Emberson
Priority: Minor
org/apache/
wicket/markup/resolver/AutoComponentResolver.java invokeSetter method
change from:
Method method = null;
for (Method methodTested : methods)
{
if (methodTested.getName().equalsIgnoreCase(methodName))
{
method = methodTested;
}
}
to: Method method = null;
for (Method methodTested : methods)
{
if (methodTested.getName().equalsIgnoreCase(methodName))
{
method = methodTested;
break;
}
}
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira