Polishing

This commit is contained in:
Sam Brannen 2023-07-03 15:00:02 +02:00
parent 4c0329014f
commit e995033811
1 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ import org.springframework.util.StringUtils;
import org.springframework.validation.FieldError;
/**
* Utility methods to resolve list of {@link MessageSourceResolvable}s, and
* Utility methods to resolve a list of {@link MessageSourceResolvable}s, and
* optionally join them.
*
* @author Rossen Stoyanchev
@ -42,7 +42,7 @@ public abstract class BindErrorUtils {
/**
* Shortcut for {@link #resolveAndJoin(List, MessageSource, Locale)} with
* an empty * {@link MessageSource} that simply formats the default message,
* an empty {@link MessageSource} that simply formats the default message,
* or first error code, also prepending the field name for field errors.
*/
public static String resolveAndJoin(List<? extends MessageSourceResolvable> errors) {