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
            Priority: Minor


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