Skip to content

Commit c0b4e36

Browse files
committed
Fix typo in TransactionManagementConfigurer Javadoc
1 parent 37dc211 commit c0b4e36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-tx/src/main/java/org/springframework/transaction/annotation/TransactionManagementConfigurer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public interface TransactionManagementConfigurer {
5353
* <pre class="code">
5454
* &#064;Bean
5555
* &#064;Override
56-
* public PlatformTransactionManager createTransactionManager() {
56+
* public PlatformTransactionManager annotationDrivenTransactionManager() {
5757
* return new DataSourceTransactionManager(dataSource());
5858
* }</pre>
5959
* <h3>2. Implement the method without {@code @Bean} and delegate to another existing
@@ -65,7 +65,7 @@ public interface TransactionManagementConfigurer {
6565
* }
6666
*
6767
* &#064;Override
68-
* public PlatformTransactionManager createTransactionManager() {
68+
* public PlatformTransactionManager annotationDrivenTransactionManager() {
6969
* return txManager(); // reference the existing {@code @Bean} method above
7070
* }</pre>
7171
*

0 commit comments

Comments
 (0)