From abb45aa1300cb23ef71aafc2b9836a4864b2c67e Mon Sep 17 00:00:00 2001 From: Oleg Lomaka Date: Sat, 20 Sep 2014 12:28:47 +0300 Subject: [PATCH] Fix reference code sample --- src/asciidoc/index.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asciidoc/index.adoc b/src/asciidoc/index.adoc index be91a1eec9..29899a2e20 100644 --- a/src/asciidoc/index.adoc +++ b/src/asciidoc/index.adoc @@ -6365,7 +6365,7 @@ support for autowiring of `@Bean` methods: @Qualifier("public") TestBean spouse, @Value("#{privateInstance.age}") String country) { TestBean tb = new TestBean("protectedInstance", 1); - tb.setSpouse(tb); + tb.setSpouse(spouse); tb.setCountry(country); return tb; } -- GitLab