Browse Source

Fix reference code sample

pull/648/merge
Oleg Lomaka 12 years ago committed by Sebastien Deleuze
parent
commit
abb45aa130
  1. 2
      src/asciidoc/index.adoc

2
src/asciidoc/index.adoc

@ -6365,7 +6365,7 @@ support for autowiring of `@Bean` methods: @@ -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;
}

Loading…
Cancel
Save