[
https://issues.apache.org/jira/browse/WICKET-3414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993590#comment-12993590
]
Hudson commented on WICKET-3414:
--------------------------------
Integrated in Apache Wicket 1.4.x #430 (See
[https://hudson.apache.org/hudson/job/Apache%20Wicket%201.4.x/430/])
WICKET-3414 Add break after finding Method in AutoComponentResolver
invokeSetter
Add a 'break' after finding the match. A little perf improvement.
> 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
> Assignee: Martin Grigorov
> Priority: Minor
> Fix For: 1.4.16, 1.5-RC2
>
>
> 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