Skip to content

Commit e0e3143

Browse files
committed
Fix Javadoc errors in TransactionalTEL
This commit fixes recently introduced formatting errors in the Javadoc of TransactionalTestExecutionListener.
1 parent 7ff964a commit e0e3143

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

spring-test/src/main/java/org/springframework/test/context/transaction/TransactionalTestExecutionListener.java

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@
6464
* <em>rolled back</em> after completion of the test; whereas, changes to the
6565
* database during a test that is run with {@code @NotTransactional} will
6666
* <strong>not</strong> be run within a transaction. Test methods that are not
67-
* annotated with either {@code @Transactional} (at the class or method level)
68-
* or {@code @NotTransactional} will not be run within a transaction.
67+
* annotated with {@code @Transactional} (at the class or method level) will not
68+
* be run within a transaction.
6969
*
7070
* <p>Transactional commit and rollback behavior can be configured via the
7171
* class-level {@link TransactionConfiguration @TransactionConfiguration} and
7272
* method-level {@link Rollback @Rollback} annotations.
7373
*
7474
* <p>In case there are multiple instances of {@code PlatformTransactionManager}
75-
* within the test's {@code ApplicationContext}, @{@code TransactionConfiguration}
75+
* within the test's {@code ApplicationContext}, {@code @TransactionConfiguration}
7676
* supports configuring the bean name of the {@code PlatformTransactionManager}
7777
* that should be used to drive transactions. Alternatively,
7878
* {@link TransactionManagementConfigurer} can be implemented in an
@@ -90,6 +90,7 @@
9090
* @author Juergen Hoeller
9191
* @since 2.5
9292
* @see TransactionConfiguration
93+
* @see TransactionManagementConfigurer
9394
* @see org.springframework.transaction.annotation.Transactional
9495
* @see org.springframework.test.annotation.NotTransactional
9596
* @see org.springframework.test.annotation.Rollback
@@ -122,9 +123,9 @@ public class TransactionalTestExecutionListener extends AbstractTestExecutionLis
122123
* configured to run within a transaction, this method will run
123124
* {@link BeforeTransaction &#064;BeforeTransaction methods} and start a new
124125
* transaction.
125-
* <p>Note that if a {@code BeforeTransaction &#064;BeforeTransaction method} fails,
126-
* remaining {@code BeforeTransaction &#064;BeforeTransaction methods} will not
127-
* be invoked, and a transaction will not be started.
126+
* <p>Note that if a {@code @BeforeTransaction} method fails, any remaining
127+
* {@code @BeforeTransaction} methods will not be invoked, and a transaction
128+
* will not be started.
128129
* @see org.springframework.transaction.annotation.Transactional
129130
* @see org.springframework.test.annotation.NotTransactional
130131
* @see #getTransactionManager(TestContext, String)
@@ -175,7 +176,7 @@ public String getName() {
175176
* If a transaction is currently active for the test method of the supplied
176177
* {@link TestContext test context}, this method will end the transaction
177178
* and run {@link AfterTransaction &#064;AfterTransaction methods}.
178-
* <p>{@code AfterTransaction &#064;AfterTransaction methods} are guaranteed to be
179+
* <p>{@code @AfterTransaction} methods are guaranteed to be
179180
* invoked even if an error occurs while ending the transaction.
180181
*/
181182
@Override
@@ -521,9 +522,9 @@ private boolean isShadowed(Method current, Method previous) {
521522
* Retrieves the {@link TransactionConfigurationAttributes} for the
522523
* specified {@link Class class} which may optionally declare or inherit
523524
* {@link TransactionConfiguration &#064;TransactionConfiguration}. If
524-
* {@code &#064;TransactionConfiguration} is not present for the supplied
525+
* {@code @TransactionConfiguration} is not present for the supplied
525526
* class, the <em>default values</em> for attributes defined in
526-
* {@code &#064;TransactionConfiguration} will be used instead.
527+
* {@code @TransactionConfiguration} will be used instead.
527528
* @param testContext the test context for which the configuration
528529
* attributes should be retrieved
529530
* @return a new TransactionConfigurationAttributes instance

0 commit comments

Comments
 (0)