From 5687e645ecc18c1d5f6dcd163f1ec43d621ed6c9 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Sun, 2 Oct 2022 23:52:31 +0900 Subject: [PATCH 1/2] Add Javadoc since for UseMainMethod See gh-22405 --- .../org/springframework/boot/test/context/SpringBootTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootTest.java b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootTest.java index 06e1ddfdef2f..9dd0551b958e 100644 --- a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootTest.java +++ b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootTest.java @@ -187,6 +187,7 @@ public boolean isEmbedded() { * Enumeration of how the main method of the * {@link SpringBootConfiguration @SpringBootConfiguration}-annotated class is used * when creating and running the {@link SpringApplication} under test. + * @since 3.0.0 */ enum UseMainMethod { From a8eb29878abf03adeeedffeac9ef0c27aad10dab Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Mon, 3 Oct 2022 00:35:43 +0900 Subject: [PATCH 2/2] Suppress SpringJavadoc check on SpringBootTest temporarily --- src/checkstyle/checkstyle-suppressions.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/checkstyle/checkstyle-suppressions.xml b/src/checkstyle/checkstyle-suppressions.xml index 8a2608f3b1f2..46239c87f188 100644 --- a/src/checkstyle/checkstyle-suppressions.xml +++ b/src/checkstyle/checkstyle-suppressions.xml @@ -68,4 +68,6 @@ + +