We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 400b664 commit 119a565Copy full SHA for 119a565
spring-boot-docs/src/main/asciidoc/howto.adoc
@@ -2092,7 +2092,10 @@ Example:
2092
2093
@Override
2094
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
2095
- return application.sources(Application.class);
+ // Customize the application or call application.sources(...) to add sources
2096
+ // Since our example is itself a @Configuration class we actually don't
2097
+ // need to override this method.
2098
+ return application;
2099
}
2100
2101
0 commit comments