Skip to content

Commit 6ece075

Browse files
committed
Merge branch '1.1.x'
2 parents 0a19fd0 + a0667ba commit 6ece075

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -596,16 +596,16 @@ in a similar manner as the `ConnectionSettings` example above.
596596

597597

598598
[[boot-features-external-config-relaxed-binding]]
599-
==== Relaxed binding (Properties format)
599+
==== Relaxed binding
600600
Spring Boot uses some relaxed rules for binding `Environment` properties to
601601
`@ConfigurationProperties` beans, so there doesn't need to be an exact match between
602602
the `Environment` property name and the bean property name. Common examples where this
603603
is useful include underscore separated (e.g. `context_path` binds to `contextPath`), and
604604
capitalized (e.g. `PORT` binds to `port`) environment properties.
605605

606-
NOTE: Environment variables are usually underscore-separated and upper case so you can
607-
just use that and Spring Boot will bind it to your bean property names accordingly. For
608-
instance `MY_PROPERTY` will match just the same as `myProperty`, `my_property` or
606+
NOTE: Environment variables are usually underscore-separated and upper case. You can
607+
use that format and Spring Boot will bind them to your bean property names accordingly.
608+
For instance `MY_PROPERTY` will match just the same as `myProperty`, `my_property` or
609609
`my-property`.
610610

611611
Spring will attempt to coerce the external application properties to the right type when

0 commit comments

Comments
 (0)