diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index b5fd704863..a8eecc227e 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -2485,13 +2485,6 @@ bom { releaseNotes("https://github.com/mojohaus/versions/releases/tag/{version}") } } - library("WebJars Locator Lite", "1.0.1") { - group("org.webjars") { - modules = [ - "webjars-locator-lite" - ] - } - } library("WebJars Locator Core", "0.59") { group("org.webjars") { modules = [ @@ -2499,6 +2492,13 @@ bom { ] } } + library("WebJars Locator Lite", "1.0.1") { + group("org.webjars") { + modules = [ + "webjars-locator-lite" + ] + } + } library("WSDL4j", "1.6.3") { group("wsdl4j") { modules = [ diff --git a/spring-boot-project/spring-boot-docker-compose/src/main/java/org/springframework/boot/docker/compose/core/DockerCliCommand.java b/spring-boot-project/spring-boot-docker-compose/src/main/java/org/springframework/boot/docker/compose/core/DockerCliCommand.java index 50e74f6c2a..f72b467d61 100644 --- a/spring-boot-project/spring-boot-docker-compose/src/main/java/org/springframework/boot/docker/compose/core/DockerCliCommand.java +++ b/spring-boot-project/spring-boot-docker-compose/src/main/java/org/springframework/boot/docker/compose/core/DockerCliCommand.java @@ -276,7 +276,7 @@ abstract sealed class DockerCliCommand { */ record ComposeVersion(int major, int minor) { - public static final ComposeVersion UNKNOWN = new ComposeVersion(0, 0); + static final ComposeVersion UNKNOWN = new ComposeVersion(0, 0); boolean isLessThan(int major, int minor) { return major() < major || major() == major && minor() < minor; diff --git a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features/dev-services.adoc b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features/dev-services.adoc index 0837d4d3ba..ed9f444073 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features/dev-services.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features/dev-services.adoc @@ -377,7 +377,7 @@ NOTE: Using a javadoc:org.springframework.boot.testcontainers.service.connection [[features.dev-services.testcontainers.at-development-time.importing-container-declarations]] -==== Importing Testcontainer Declaration Classes +==== Importing Testcontainers Declaration Classes A common pattern when using Testcontainers is to declare javadoc:org.testcontainers.containers.Container[] instances as static fields. Often these fields are defined directly on the test class. @@ -402,7 +402,7 @@ You can also add javadoc:org.springframework.test.context.DynamicPropertySource[ When using devtools, you can annotate beans and bean methods with javadoc:org.springframework.boot.devtools.restart.RestartScope[format=annotation]. Such beans won't be recreated when the devtools restart the application. -This is especially useful for Testcontainer javadoc:org.testcontainers.containers.Container[] beans, as they keep their state despite the application restart. +This is especially useful for javadoc:org.testcontainers.containers.Container[] beans, as they keep their state despite the application restart. include-code::MyContainersConfiguration[] diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/jdbc/AutoConfigureTestDatabase.java b/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/jdbc/AutoConfigureTestDatabase.java index 4283a1ca8b..26284c3a27 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/jdbc/AutoConfigureTestDatabase.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/jdbc/AutoConfigureTestDatabase.java @@ -77,7 +77,7 @@ public @interface AutoConfigureTestDatabase { * databases: *