Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1ad6eed

Browse files
[improve] Restored a few calls
1 parent 7dd47f8 commit 1ad6eed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎d01/d01s03/d01s03e01-bean-attributes/src/main/java/net/safedata/spring/training/d01/s03/BeanAttributesDemo.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ public class BeanAttributesDemo {
1919
public static void main(String[] args) {
2020
final ApplicationContext applicationContext = buildApplicationContext();
2121

22-
//final ProductService productService = applicationContext.getBean(ProductService.class);
23-
//productService.displayProducts();
22+
final ProductService productService = applicationContext.getBean(ProductService.class);
23+
productService.displayProducts();
2424

25-
//System.out.println();
25+
System.out.println();
2626

2727
// retrieving and using the lazy initialized product service
2828
final ProductService theLazyProductService = applicationContext.getBean("lazyProductService", ProductService.class);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /