From 6a4cc7e681c1d5c37788dd5ebdaa5b1996cca39a Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Fri, 16 Oct 2015 16:31:54 +0200 Subject: [PATCH] Fix typos in Web MVC chapter --- src/asciidoc/web-mvc.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/asciidoc/web-mvc.adoc b/src/asciidoc/web-mvc.adoc index 9c6b7bb5858..774f8be3877 100644 --- a/src/asciidoc/web-mvc.adoc +++ b/src/asciidoc/web-mvc.adoc @@ -4695,7 +4695,7 @@ plugged into Spring MVC as a global validator as described next. By default use of `@EnableWebMvc` or `` automatically registers Bean Validation support in Spring MVC through the `LocalValidatorFactoryBean` when a Bean Validation -provider is such as Hibernate Validator is detected on the classpath. +provider such as Hibernate Validator is detected on the classpath. [NOTE] ==== @@ -4762,7 +4762,7 @@ To combine global with local validation, simply add one or more local validator( } ---- -With this minimal configuration anytime an `@Valid` or `@Validated` method argument is encountered, it +With this minimal configuration any time an `@Valid` or `@Validated` method argument is encountered, it will be validated by the configured validators. Any validation violations will automatically be exposed as errors in the `BindingResult` accessible as a method argument and also renderable in Spring MVC HTML views.