From 94458c05e01465cdd1caee1f2a4e89e522210b16 Mon Sep 17 00:00:00 2001 From: Yanming Zhou Date: Thu, 3 Sep 2026 19:45:46 +0800 Subject: [PATCH] Polish method parameter name The parameter type is `TransactionManager` not `PlatformTransactionManager`. Closes gh-36702 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 1882dee89f1..085268d4afd 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 class TransactionInterceptor extends TransactionAspectSupport /** * 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); }