File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-boot-project/spring-boot-docs/src/main/asciidoc Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -978,9 +978,9 @@ name of the bean is used.
978
978
The bean name in the example above is `acme-com.example.AcmeProperties`.
979
979
====
980
980
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
984
984
`@EnableConfigurationProperties` annotation is _also_ automatically applied to your
985
985
project so that any _existing_ bean annotated with `@ConfigurationProperties` is
986
986
configured from the `Environment`. Instead of annotating `MyConfiguration` with
You can’t perform that action at this time.
0 commit comments