INT-1552 general pollishing of several docs to address coments on this JIRA

This commit is contained in:
Oleg Zhurakousky
2010-11-18 17:32:46 -05:00
parent cf45498376
commit 2df5efb309
6 changed files with 11 additions and 10 deletions

View File

@@ -564,7 +564,7 @@ That includes Samples, so if you can't find what you are looking for let us know
else {
context = new ClassPathXmlApplicationContext("cafeDemo.xml", CafeDemo.class);
}
Cafe cafe = (Cafe) context.getBean("cafe");
Cafe cafe = context.getBean("cafe", Cafe.class);
for (int i = 1; i <= 100; i++) {
Order order = new Order(i);
order.addItem(DrinkType.LATTE, 2, false);