From 3b702867470455f305f7eff0d0212c88fea0c18a Mon Sep 17 00:00:00 2001 From: Juhan Aasaru Date: Thu, 27 Apr 2023 10:55:33 +0300 Subject: [PATCH] Correct list of annotations equivalent to @SpringBootApplication See gh-35180 --- .../boot/autoconfigure/SpringBootApplication.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/SpringBootApplication.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/SpringBootApplication.java index 83e16137708..934489651b9 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/SpringBootApplication.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/SpringBootApplication.java @@ -40,7 +40,7 @@ import org.springframework.data.repository.Repository; * Indicates a {@link Configuration configuration} class that declares one or more * {@link Bean @Bean} methods and also triggers {@link EnableAutoConfiguration * auto-configuration} and {@link ComponentScan component scanning}. This is a convenience - * annotation that is equivalent to declaring {@code @Configuration}, + * annotation that is equivalent to declaring {@code @SpringBootConfiguration}, * {@code @EnableAutoConfiguration} and {@code @ComponentScan}. * * @author Phillip Webb