Skip to content

Commit 8cc6dd6

Browse files
committed
Polishing
1 parent 391d7f2 commit 8cc6dd6

File tree

1 file changed

+2
-2
lines changed
  • spring-context/src/main/java/org/springframework/validation

1 file changed

+2
-2
lines changed

spring-context/src/main/java/org/springframework/validation/Errors.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ void rejectValue(@Nullable String field, String errorCode,
272272
boolean hasFieldErrors(String field);
273273

274274
/**
275-
* Return the number of errors associated with the given field.
275+
* Determine the number of errors associated with the given field.
276276
* @param field the field name
277277
* @see #getFieldErrorCount()
278278
*/
@@ -310,7 +310,7 @@ void rejectValue(@Nullable String field, String errorCode,
310310
Object getFieldValue(String field);
311311

312312
/**
313-
* Return the type of a given field.
313+
* Determine the type of the given field, as far as possible.
314314
* <p>Implementations should be able to determine the type even
315315
* when the field value is {@code null}, for example from some
316316
* associated descriptor.

0 commit comments

Comments
 (0)