From 5e087b09cc4bb00c8407a1c05c6bd650736214b0 Mon Sep 17 00:00:00 2001 From: Yanming Zhou Date: Fri, 24 Apr 2026 10:15:56 +0800 Subject: [PATCH] Polish method parameter name The parameter type is `TransactionManager` not `PlatformTransactionManager`. Signed-off-by: Yanming Zhou --- .../transaction/interceptor/TransactionInterceptor.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionInterceptor.java b/spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionInterceptor.java index 1882dee89f1f..085268d4afdf 100644 --- a/spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionInterceptor.java +++ b/spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionInterceptor.java @@ -73,14 +73,14 @@ public TransactionInterceptor() { /** * Create a new TransactionInterceptor. - * @param ptm the default transaction manager to perform the actual transaction management + * @param tm the default transaction manager to perform the actual transaction management * @param tas the attribute source to be used to find transaction attributes * @since 5.2.5 * @see #setTransactionManager * @see #setTransactionAttributeSource */ - public TransactionInterceptor(TransactionManager ptm, TransactionAttributeSource tas) { - setTransactionManager(ptm); + public TransactionInterceptor(TransactionManager tm, TransactionAttributeSource tas) { + setTransactionManager(tm); setTransactionAttributeSource(tas); }