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 9967881

Browse files
[fix] Commented the 2nd HelloSpring bean
1 parent d554369 commit 9967881

File tree

1 file changed

+1
-1
lines changed
  • d01/d01s01/d01s01e01-annotations-configuration/src/main/java/net/safedata/spring/training/d01/s01/config

1 file changed

+1
-1
lines changed

‎d01/d01s01/d01s01e01-annotations-configuration/src/main/java/net/safedata/spring/training/d01/s01/config/DemoConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public HelloSpring helloSpring() {
2222
/**
2323
* This bean is commented by default, so that we won't have two beans of the same type in the Spring IoC container
2424
*/
25-
@Bean
25+
//@Bean
2626
public HelloSpring otherHelloSpring() {
2727
return new HelloSpring();
2828
}

0 commit comments

Comments
(0)

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