You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2010/08/26 23:44:54 UTC

[jira] Reopened: (WICKET-2849) FormComponent.add(IValidator) should probably accept IValidator

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

Igor Vaynberg reopened WICKET-2849:
-----------------------------------


whoops, change meant for another issue

> 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.4.11, 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.