Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/docs/asciidoc/core/core-beans.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3340,7 +3340,7 @@ consists of two listings):
----
====

However, the second of the two preceding examples does not couple the code to Spring.
However, the first of the two preceding examples does not couple the code to Spring.


[[beans-factory-lifecycle-disposablebean]]
Expand Down Expand Up @@ -3406,7 +3406,7 @@ The preceding definition has almost exactly the same effect as the following def
----
====

However, the second of the two preceding definitions does not couple the code to Spring.
However, the first of the two preceding definitions does not couple the code to Spring.

TIP: You can assign the `destroy-method` attribute of a `<bean>` element a special
`(inferred)` value, which instructs Spring to automatically detect a public `close` or
Expand Down