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.
978978The 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
985985project so that any _existing_ bean annotated with `@ConfigurationProperties` is
986986configured from the `Environment`. Instead of annotating `MyConfiguration` with
You can’t perform that action at this time.
0 commit comments