diff --git a/src/asciidoc/index.adoc b/src/asciidoc/index.adoc index be91a1eec9d309accb7ba751bf3368b295125c75..29899a2e20c55715156812cf9235d19f30098d0f 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; }