@@ -79,7 +79,7 @@ private TestContextTransactionUtils() {
7979 * should be retrieved; never {@code null}
8080 * @param name the name of the {@code DataSource} to retrieve; may be {@code null}
8181 * or <em>empty</em>
82- * @return the {@code DataSource} to use, or {@code null} if not found
82+ * @return the {@code DataSource} to use
8383 * @throws BeansException if an error occurs while retrieving the {@code DataSource}
8484 */
8585 public static DataSource retrieveDataSource (TestContext testContext , String name ) {
@@ -133,7 +133,7 @@ public static DataSource retrieveDataSource(TestContext testContext, String name
133133 * should be retrieved; never {@code null}
134134 * @param name the name of the transaction manager to retrieve; may be
135135 * {@code null} or <em>empty</em>
136- * @return the transaction manager to use, or {@code null} if not found
136+ * @return the transaction manager to use
137137 * @throws BeansException if an error occurs while retrieving the transaction manager
138138 */
139139 public static PlatformTransactionManager retrieveTransactionManager (TestContext testContext , String name ) {
@@ -182,7 +182,7 @@ public static PlatformTransactionManager retrieveTransactionManager(TestContext
182182 /**
183183 * Create a delegating {@link TransactionAttribute} for the supplied target
184184 * {@link TransactionAttribute} and {@link TestContext}, using the names of
185- * the test class and test method as the name of the transaction.
185+ * the test class and test method to build the name of the transaction.
186186 *
187187 * @param testContext the {@code TestContext} upon which to base the name; never {@code null}
188188 * @param targetAttribute the {@code TransactionAttribute} to delegate to; never {@code null}
0 commit comments