You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2010/08/27 02:19:55 UTC
[jira] Commented: (WICKET-2849) FormComponent.add(IValidator)
should probably accept IValidator super T>
[ https://issues.apache.org/jira/browse/WICKET-2849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903154#action_12903154 ]
Hudson commented on WICKET-2849:
--------------------------------
Integrated in Apache Wicket 1.5.x #269 (See [https://hudson.apache.org/hudson/job/Apache%20Wicket%201.5.x/269/])
add(ivalidator<t>)->add(ivalidator<? super t>)
Issue: WICKET-2849
> 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.