Skip to content

Commit e995033

Browse files
committed
Polishing
1 parent 4c03290 commit e995033

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-web/src/main/java/org/springframework/web/util/BindErrorUtils.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
import org.springframework.validation.FieldError;
3030

3131
/**
32-
* Utility methods to resolve list of {@link MessageSourceResolvable}s, and
32+
* Utility methods to resolve a list of {@link MessageSourceResolvable}s, and
3333
* optionally join them.
3434
*
3535
* @author Rossen Stoyanchev
@@ -42,7 +42,7 @@ public abstract class BindErrorUtils {
4242

4343
/**
4444
* 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,
4646
* or first error code, also prepending the field name for field errors.
4747
*/
4848
public static String resolveAndJoin(List<? extends MessageSourceResolvable> errors) {
@@ -62,8 +62,8 @@ public static String resolveAndJoin(
6262
/**
6363
* Resolve all errors through the given {@link MessageSource} and join them.
6464
* @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
6767
* @param errors the errors to resolve and join
6868
* @param messageSource the {@code MessageSource} to resolve with
6969
* @param locale the locale to resolve with

0 commit comments

Comments
 (0)