Skip to content

Commit f07de1b

Browse files
committed
Polish "Update ambiguous documentation about ConfigurationProperties"
Closes gh-16166
1 parent 6b6ac28 commit f07de1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -978,9 +978,9 @@ name of the bean is used.
978978
The bean name in the example above is `acme-com.example.AcmeProperties`.
979979
====
980980

981-
The preceding configuration creates a regular bean for `AcmeProperties`. We
982-
recommend that `@ConfigurationProperties` only deal with the environment and, in
983-
particular, does not inject other beans from the context. Keep in mind that the
981+
The preceding configuration creates a regular bean for `AcmeProperties`. We recommend that
982+
`@ConfigurationProperties` only deal with the environment and, in particular, does not
983+
inject other beans from the context. Keep in mind that the
984984
`@EnableConfigurationProperties` annotation is _also_ automatically applied to your
985985
project so that any _existing_ bean annotated with `@ConfigurationProperties` is
986986
configured from the `Environment`. Instead of annotating `MyConfiguration` with

0 commit comments

Comments
 (0)