From d0f6c6f8248c0a0fc5f01f258f5857aad189c2e2 Mon Sep 17 00:00:00 2001 From: Periklis Ntanasis Date: Thu, 1 Nov 2018 01:12:41 +0200 Subject: [PATCH] Fixes error in reference documentation The error is in the Lifecycle Callbacks section. Issues: SRP-17453 --- src/docs/asciidoc/core/core-beans.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docs/asciidoc/core/core-beans.adoc b/src/docs/asciidoc/core/core-beans.adoc index f1e8cdad9826..447876237aff 100644 --- a/src/docs/asciidoc/core/core-beans.adoc +++ b/src/docs/asciidoc/core/core-beans.adoc @@ -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]] @@ -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 `` element a special `(inferred)` value, which instructs Spring to automatically detect a public `close` or