Fix reference code sample

This commit is contained in:
Oleg Lomaka
2014-10-07 09:41:50 +02:00
committed by Sebastien Deleuze
parent d6be433501
commit abb45aa130
+1 -1
View File
@@ -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;
}