Fix use of deprecated property in docs

Closes gh-12940
This commit is contained in:
Stephane Nicoll 2018-04-22 09:19:08 +02:00
parent f1b3188c3c
commit 6df1ea3544
1 changed files with 3 additions and 3 deletions

View File

@ -276,12 +276,12 @@ configuration by setting properties in `+spring.main.*+`. For example, in
[source,properties,indent=0,subs="verbatim,quotes,attributes"] [source,properties,indent=0,subs="verbatim,quotes,attributes"]
---- ----
spring.main.web-environment=false spring.main.web-application-type=none
spring.main.banner-mode=off spring.main.banner-mode=off
---- ----
Then the Spring Boot banner is not printed on startup, and the application is Then the Spring Boot banner is not printed on startup, and the application is not starting
not a web application. an embedded web server.
NOTE: The preceding example also demonstrates how flexible binding allows the use of NOTE: The preceding example also demonstrates how flexible binding allows the use of
underscores (`_`) as well as dashes (`-`) in property names. underscores (`_`) as well as dashes (`-`) in property names.