Closed
Description
Affects: \5.0.0.M1
Hi, in the code snippet for the CustomerValidator
a quote went missing
Actual:
//...
public CustomerValidator(Validator addressValidator) {
// ...
if (!addressValidator.supports(Address.class)) {
throw new IllegalArgumentException("The supplied [Validator] must " +
support the validation of [Address] instances.");
}
// ...
}
//...
Expected:
//...
public CustomerValidator(Validator addressValidator) {
// ...
if (!addressValidator.supports(Address.class)) {
throw new IllegalArgumentException("The supplied [Validator] must " +
"support the validation of [Address] instances.");
}
// ...
}
//...
Hope this is the right issue tracker to submit it to. If there's a repo for the documentation, please let me know and I can attach a PR to the issue next time 😄