mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 08:24:13 +00:00
Polish method parameter name
The parameter type is `TransactionManager` not `PlatformTransactionManager`. Closes gh-36702 Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
This commit is contained in:
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user