|
26 | 26 | public interface SmartValidator extends Validator {
|
27 | 27 |
|
28 | 28 | /**
|
29 |
| - * Validate the supplied <code>target</code> object, which must be |
30 |
| - * of a {@link Class} for which the {@link #supports(Class)} method |
31 |
| - * typically has (or would) return <code>true</code>. |
32 |
| - * <p>The supplied {@link Errors errors} instance can be used to report |
33 |
| - * any resulting validation errors. |
34 |
| - * <p><b>This variant of <code>validate</code> supports validation hints, |
35 |
| - * such as validation groups against a JSR-303 provider</b> (in this case, |
36 |
| - * the provided hint objects need to be annotation arguments of type Class). |
37 |
| - * <p>Note: Validation hints may get ignored by the actual target Validator, |
| 29 | + * Validate the supplied {@code target} object, which must be of a {@link Class} for |
| 30 | + * which the {@link #supports(Class)} method typically has (or would) return {@code true}. |
| 31 | + * <p>The supplied {@link Errors errors} instance can be used to report any |
| 32 | + * resulting validation errors. |
| 33 | + * <p><b>This variant of {@code validate} supports validation hints, such as |
| 34 | + * validation groups against a JSR-303 provider</b> (in this case, the provided hint |
| 35 | + * objects need to be annotation arguments of type {@code Class}). |
| 36 | + * <p>Note: Validation hints may get ignored by the actual target {@code Validator}, |
38 | 37 | * in which case this method is supposed to be behave just like its regular
|
39 | 38 | * {@link #validate(Object, Errors)} sibling.
|
40 |
| - * @param target the object that is to be validated (can be <code>null</code>) |
41 |
| - * @param errors contextual state about the validation process (never <code>null</code>) |
| 39 | + * @param target the object that is to be validated (can be {@code null}) |
| 40 | + * @param errors contextual state about the validation process (never {@code null}) |
42 | 41 | * @param validationHints one or more hint objects to be passed to the validation engine
|
43 | 42 | * @see ValidationUtils
|
44 | 43 | */
|
|
0 commit comments