[ 
https://issues.apache.org/jira/browse/WICKET-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493706
 ] 

Igor Vaynberg commented on WICKET-532:
--------------------------------------

the reason it was hard to read is because it is an optimization for size. im 
not sure we want to remove it. we have code like that all over the place where 
we keep lists - except for component.behaviors, there its a list.


> CodeSmell 
> jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
> --------------------------------------------------------------------------------------------
>
>                 Key: WICKET-532
>                 URL: https://issues.apache.org/jira/browse/WICKET-532
>             Project: Wicket
>          Issue Type: Improvement
>         Environment:  svn info
> Pfad: .
> URL: https://svn.apache.org/repos/asf/incubator/wicket/trunk
> Basis des Projektarchivs: https://svn.apache.org/repos/asf
> UUID des Projektarchivs: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 535220
>            Reporter: Martin Funk
>            Priority: Minor
>         Attachments: patch.txt
>
>
> This is not a bug, it's rather a 'finger exercise'.
> Whilst codereading I came across code I didn't understand, so I rewrote it. I 
> ended up with something that I find easier to read.
> Maybe someone has some leasure time to read it and give me some feedback on 
> it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to