From 8cc6dd629a0f564a7b528f3d3bfcc73a9833214b Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Wed, 19 Jul 2023 22:58:27 +0200 Subject: [PATCH] Polishing --- .../src/main/java/org/springframework/validation/Errors.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-context/src/main/java/org/springframework/validation/Errors.java b/spring-context/src/main/java/org/springframework/validation/Errors.java index 3759217b834..18a7bc1910a 100644 --- a/spring-context/src/main/java/org/springframework/validation/Errors.java +++ b/spring-context/src/main/java/org/springframework/validation/Errors.java @@ -272,7 +272,7 @@ public interface Errors { boolean hasFieldErrors(String field); /** - * Return the number of errors associated with the given field. + * Determine the number of errors associated with the given field. * @param field the field name * @see #getFieldErrorCount() */ @@ -310,7 +310,7 @@ public interface Errors { Object getFieldValue(String field); /** - * Return the type of a given field. + * Determine the type of the given field, as far as possible. *

Implementations should be able to determine the type even * when the field value is {@code null}, for example from some * associated descriptor.