Browse Source

Fix typo in ApplicationContext reference doc

- Add missing '=' sign in sample code for section 4.2.3

Issue: SPR-8856
pull/46/merge
Phani Kandula 13 years ago committed by Chris Beams
parent
commit
6c602d7bbc
  1. 2
      src/reference/docbook/beans.xml

2
src/reference/docbook/beans.xml

@ -370,7 +370,7 @@ ApplicationContext context = @@ -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

Loading…
Cancel
Save