29
29
import org .springframework .validation .FieldError ;
30
30
31
31
/**
32
- * Utility methods to resolve list of {@link MessageSourceResolvable}s, and
32
+ * Utility methods to resolve a list of {@link MessageSourceResolvable}s, and
33
33
* optionally join them.
34
34
*
35
35
* @author Rossen Stoyanchev
@@ -42,7 +42,7 @@ public abstract class BindErrorUtils {
42
42
43
43
/**
44
44
* Shortcut for {@link #resolveAndJoin(List, MessageSource, Locale)} with
45
- * an empty * {@link MessageSource} that simply formats the default message,
45
+ * an empty {@link MessageSource} that simply formats the default message,
46
46
* or first error code, also prepending the field name for field errors.
47
47
*/
48
48
public static String resolveAndJoin (List <? extends MessageSourceResolvable > errors ) {
@@ -62,8 +62,8 @@ public static String resolveAndJoin(
62
62
/**
63
63
* Resolve all errors through the given {@link MessageSource} and join them.
64
64
* @param delimiter the delimiter to use between each error
65
- * @param prefix characters to insert at the beginning
66
- * @param suffix characters to insert at the end
65
+ * @param prefix characters to insert at the beginning
66
+ * @param suffix characters to insert at the end
67
67
* @param errors the errors to resolve and join
68
68
* @param messageSource the {@code MessageSource} to resolve with
69
69
* @param locale the locale to resolve with
0 commit comments