From f83395b40cc41251365e91fc6e1d11ff3703b29a Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 17 Jun 2014 10:39:11 +0100 Subject: [PATCH] Correct docs on BeanNameViewResolver (Fixes gh-1078) --- spring-boot-docs/src/main/asciidoc/howto.adoc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc index f75bcaf8fb..6dc4d16f52 100644 --- a/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -790,8 +790,7 @@ added. bean of the same type. * A `BeanNameViewResolver` with id ``beanNameViewResolver''. This is a useful member of the view resolver chain and will pick up any beans with the same name as the `View` being - resolved. It can be overridden by providing a bean of the same type, but it's unlikely - you will need to do that. + resolved. It shouldn't be necessary to override or replace it. * A `ContentNegotiatingViewResolver` with id ``viewResolver'' is only added if there *are* actually beans of type `View` present. This is a ``master'' resolver, delegating to all the others and attempting to find a match to the ``Accept'' HTTP header sent by the