From 8bb4c167e443a25f1cd19a05242d30235c32ca1b Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sat, 17 Jun 2023 13:36:37 +0200 Subject: [PATCH] Polishing See gh-30280 --- .../main/java/org/springframework/test/context/jdbc/Sql.java | 4 ++-- .../test/context/jdbc/SqlScriptsTestExecutionListener.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-test/src/main/java/org/springframework/test/context/jdbc/Sql.java b/spring-test/src/main/java/org/springframework/test/context/jdbc/Sql.java index 861bcf06f93..943b9edff86 100644 --- a/spring-test/src/main/java/org/springframework/test/context/jdbc/Sql.java +++ b/spring-test/src/main/java/org/springframework/test/context/jdbc/Sql.java @@ -57,8 +57,8 @@ import org.springframework.core.annotation.AliasFor; * {@link org.springframework.test.context.NestedTestConfiguration @NestedTestConfiguration} * for details. * - *

Use of this annotation requires that that the {@code spring-jdbc} and - * {@code spring-tx} modules be present in the classpath. + *

Use of this annotation requires the {@code spring-jdbc} and {@code spring-tx} + * modules as well as their transitive dependencies to be present on the classpath. * * @author Sam Brannen * @since 4.1 diff --git a/spring-test/src/main/java/org/springframework/test/context/jdbc/SqlScriptsTestExecutionListener.java b/spring-test/src/main/java/org/springframework/test/context/jdbc/SqlScriptsTestExecutionListener.java index 466774f64a2..c7e51561f8d 100644 --- a/spring-test/src/main/java/org/springframework/test/context/jdbc/SqlScriptsTestExecutionListener.java +++ b/spring-test/src/main/java/org/springframework/test/context/jdbc/SqlScriptsTestExecutionListener.java @@ -93,8 +93,8 @@ import static org.springframework.util.ResourceUtils.CLASSPATH_URL_PREFIX; * locate these beans. * *

Required Dependencies

- *

Use of this listener requires that that the {@code spring-jdbc} and - * {@code spring-tx} modules be present in the classpath. + *

Use of this listener requires the {@code spring-jdbc} and {@code spring-tx} + * modules as well as their transitive dependencies to be present on the classpath. * * @author Sam Brannen * @author Dmitry Semukhin