You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "Matt Benson (JIRA)" <ji...@apache.org> on 2012/09/17 18:45:07 UTC

[jira] [Updated] (BVAL-109) Wrong enforcement that validation groups have to be interfaces

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

Matt Benson updated BVAL-109:
-----------------------------

    Affects Version/s: 0.5
        Fix Version/s:     (was: 0.5)

Defer
                
> Wrong enforcement that validation groups have to be interfaces
> --------------------------------------------------------------
>
>                 Key: BVAL-109
>                 URL: https://issues.apache.org/jira/browse/BVAL-109
>             Project: BVal
>          Issue Type: New Feature
>          Components: jsr303
>    Affects Versions: 0.4, 0.5
>            Reporter: Konstantin Triger
>
> The Bean Validation specification does not enforce that groups have to be interfaces. Non interface classes could be used as well, but we recommend to stick to interfaces.
> (Taken from http://docs.jboss.org/hibernate/validator/4.0.1/reference/en/html/validator-usingvalidator.html#validator-usingvalidator-validationgroups)
> Suggested fix: remove the check from GroupsComputer.computeGroups.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira