Browse Source

Fix formatting

Closes gh-1483
pull/1543/head
Stephane Nicoll 8 years ago
parent
commit
cee9d1c08f
  1. 2
      src/docs/asciidoc/core/core-beans.adoc

2
src/docs/asciidoc/core/core-beans.adoc

@ -4479,7 +4479,7 @@ non-required constructors can be annotated. In that case, each is considered amo @@ -4479,7 +4479,7 @@ non-required constructors can be annotated. In that case, each is considered amo
candidates and Spring uses the __greediest__ constructor whose dependencies can be
satisfied, that is the constructor that has the largest number of arguments.
`@Autowired`'s __required__ attribute is recommended over the `@Required` annotation.
The __required__ attribute of `@Autowired` is recommended over the `@Required` annotation.
The __required__ attribute indicates that the property is not required for autowiring
purposes, the property is ignored if it cannot be autowired. `@Required`, on the other
hand, is stronger in that it enforces the property that was set by any means supported

Loading…
Cancel
Save