[ 
https://issues.apache.org/jira/browse/WICKET-2849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Vaynberg resolved WICKET-2849.
-----------------------------------

    Fix Version/s:     (was: 1.4.11)
       Resolution: Fixed

only 1.5 to keep binary compat

> FormComponent.add(IValidator<T>) should probably accept IValidator<? super T>
> -----------------------------------------------------------------------------
>
>                 Key: WICKET-2849
>                 URL: https://issues.apache.org/jira/browse/WICKET-2849
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.7
>            Reporter: Emond Papegaaij
>            Assignee: Igor Vaynberg
>            Priority: Minor
>             Fix For: 1.5-M2
>
>
> For example, a validator for Number, is able to validate all subtypes of 
> Number (such as Integer or BigDecimal). The principal is the same as for 
> Comparator, methods such as Collections.sort always take ? super T.

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