You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Emond Papegaaij (JIRA)" <ji...@apache.org> on 2010/04/27 15:04:33 UTC

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

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.


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

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

         Assignee: Igor Vaynberg
    Fix Version/s: 1.4.11
                   1.5-M2
       Resolution: Fixed

referenced issue was fixed a long time ago, removed the message

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


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ 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.