Skip to content

Commit f83395b

Browse files
author
Dave Syer
committed
Correct docs on BeanNameViewResolver (Fixes gh-1078)
1 parent 4a40e8f commit f83395b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-boot-docs/src/main/asciidoc/howto.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -790,8 +790,7 @@ added.
790790
bean of the same type.
791791
* A `BeanNameViewResolver` with id ``beanNameViewResolver''. This is a useful member of the
792792
view resolver chain and will pick up any beans with the same name as the `View` being
793-
resolved. It can be overridden by providing a bean of the same type, but it's unlikely
794-
you will need to do that.
793+
resolved. It shouldn't be necessary to override or replace it.
795794
* A `ContentNegotiatingViewResolver` with id ``viewResolver'' is only added if there *are*
796795
actually beans of type `View` present. This is a ``master'' resolver, delegating to all
797796
the others and attempting to find a match to the ``Accept'' HTTP header sent by the

0 commit comments

Comments
 (0)