Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Validator] Remove property and method targets from the optional and …
…required constraints. At the moment both constraints can only be defined on other annotations (specifically, the Collection annotation). Defining the required or optional annotation directly on a field or method throws a ClassNotFoundException, since the constraint validator factory tries to load the validator (which does not exist).
- Loading branch information