From 1df3a6e1ca138e4d18acd9cfa7040ee3d4619b7c Mon Sep 17 00:00:00 2001 From: Xavier Downs Date: Wed, 20 Sep 2017 11:24:06 +1200 Subject: [PATCH] Update Errors.java Fix a typo in the Javadoc for the AddAllErrors() method in the org.springframework.validation.Errors class. --- .../src/main/java/org/springframework/validation/Errors.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ec2c1df5eb26..1c2c2434ed1e 100644 --- a/spring-context/src/main/java/org/springframework/validation/Errors.java +++ b/spring-context/src/main/java/org/springframework/validation/Errors.java @@ -172,7 +172,7 @@ void rejectValue(@Nullable String field, String errorCode, /** * Add all errors from the given {@code Errors} instance to this * {@code Errors} instance. - *

This is a onvenience method to avoid repeated {@code reject(..)} + *

This is a convenience method to avoid repeated {@code reject(..)} * calls for merging an {@code Errors} instance into another * {@code Errors} instance. *

Note that the passed-in {@code Errors} instance is supposed