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 { 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 @@ <suppress files="AbstractLaunchScriptIntegrationTests" checks="IllegalImport" /> <suppress files="FailureAnalyzers\.java" checks="RedundantModifier" /> <suppress files="SpringBootVersion" checks="JavadocPackage" /> + <!-- Remove me once Spring Java Format supports this. --> + <suppress files="SpringBootTest" checks="SpringJavadoc" /> </suppressions>