Fix typo in ApplicationContext reference doc
- Add missing '=' sign in sample code for section 4.2.3 Issue: SPR-8856
This commit is contained in:
committed by
Chris Beams
parent
15d1d824b5
commit
6c602d7bbc
@@ -370,7 +370,7 @@ ApplicationContext context =
|
||||
PetStoreServiceImpl service = context.getBean("petStore", PetStoreServiceImpl.class);
|
||||
|
||||
// use configured instance
|
||||
List userList service.getUsernameList();
|
||||
List userList = service.getUsernameList();
|
||||
</programlisting>
|
||||
|
||||
<para>You use <methodname>getBean()</methodname> to retrieve instances of
|
||||
|
||||
Reference in New Issue
Block a user