Fix typo in ApplicationContext reference doc

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

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

@ -370,7 +370,7 @@ ApplicationContext context =
PetStoreServiceImpl service = context.getBean("petStore", PetStoreServiceImpl.class); PetStoreServiceImpl service = context.getBean("petStore", PetStoreServiceImpl.class);
// use configured instance // use configured instance
List userList service.getUsernameList(); List userList = service.getUsernameList();
</programlisting> </programlisting>
<para>You use <methodname>getBean()</methodname> to retrieve instances of <para>You use <methodname>getBean()</methodname> to retrieve instances of

Loading…
Cancel
Save