Skip to content

Commit ba9244b

Browse files
committed
Polish "Update docs to use @SpringBootConfiguration not @configuration"
See gh-26937
1 parent a5f077c commit ba9244b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/using-spring-boot.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,8 @@ A single `@SpringBootApplication` annotation can be used to enable those three f
364364

365365
* `@EnableAutoConfiguration`: enable <<using-boot-auto-configuration,Spring Boot's auto-configuration mechanism>>
366366
* `@ComponentScan`: enable `@Component` scan on the package where the application is located (see <<using-boot-structuring-your-code,the best practices>>)
367-
* `@SpringBootConfiguration`: an alternative to Spring's standard `@Configuration`, allow to register extra beans in the context or import additional configuration classes
367+
* `@SpringBootConfiguration`: enable registration of extra beans in the context or the import of additional configuration classes.
368+
An alternative to Spring's standard `@Configuration` that aids <<spring-boot-features#boot-features-testing-spring-boot-applications-detecting-config,configuration detection>> in your integration tests.
368369

369370
[source,java,indent=0]
370371
----

0 commit comments

Comments
 (0)