Example using ConstraintValidatorContext is incorrect

Description

It seems the validation logic is wrong and could lead to a constraint validator returning false with not ConstraintViolation context.

Environment

None

Activity

Show:
Emmanuel Bernard
June 5, 2012, 5:23 PM

In addition, the JavaDoc of ConstraintValidatorContext.buildConstraintViolationWithTemplate uses city in the string representation whereas it uses country in the Path representation.

Assignee

Emmanuel Bernard

Reporter

Emmanuel Bernard

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

Priority

Major
Configure