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 2016/10/19 22:08:58 UTC

[jira] [Resolved] (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 resolved BVAL-109.
------------------------------
    Resolution: Invalid

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)