From f48bdafd520e045b6f00f84e9e36fd0ba5fb38e8 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Thu, 5 Jun 2014 21:09:29 +0200 Subject: [PATCH] Polish Javadoc for TestContextTransactionUtils --- .../context/transaction/TestContextTransactionUtils.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-test/src/main/java/org/springframework/test/context/transaction/TestContextTransactionUtils.java b/spring-test/src/main/java/org/springframework/test/context/transaction/TestContextTransactionUtils.java index 0bd3f462bd7..df8e813c669 100644 --- a/spring-test/src/main/java/org/springframework/test/context/transaction/TestContextTransactionUtils.java +++ b/spring-test/src/main/java/org/springframework/test/context/transaction/TestContextTransactionUtils.java @@ -79,7 +79,7 @@ public abstract class TestContextTransactionUtils { * should be retrieved; never {@code null} * @param name the name of the {@code DataSource} to retrieve; may be {@code null} * or empty - * @return the {@code DataSource} to use, or {@code null} if not found + * @return the {@code DataSource} to use * @throws BeansException if an error occurs while retrieving the {@code DataSource} */ public static DataSource retrieveDataSource(TestContext testContext, String name) { @@ -133,7 +133,7 @@ public abstract class TestContextTransactionUtils { * should be retrieved; never {@code null} * @param name the name of the transaction manager to retrieve; may be * {@code null} or empty - * @return the transaction manager to use, or {@code null} if not found + * @return the transaction manager to use * @throws BeansException if an error occurs while retrieving the transaction manager */ public static PlatformTransactionManager retrieveTransactionManager(TestContext testContext, String name) { @@ -182,7 +182,7 @@ public abstract class TestContextTransactionUtils { /** * Create a delegating {@link TransactionAttribute} for the supplied target * {@link TransactionAttribute} and {@link TestContext}, using the names of - * the test class and test method as the name of the transaction. + * the test class and test method to build the name of the transaction. * * @param testContext the {@code TestContext} upon which to base the name; never {@code null} * @param targetAttribute the {@code TransactionAttribute} to delegate to; never {@code null}