Skip to content

Commit 9e2c34d

Browse files
committed
Fixed ConcurrentMap declaration
(cherry picked from commit 23135b1)
1 parent cc93c2a commit 9e2c34d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionAspectSupport.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
package org.springframework.transaction.interceptor;
1818

1919
import java.lang.reflect.Method;
20-
import java.util.Map;
2120
import java.util.Properties;
2221
import java.util.concurrent.ConcurrentHashMap;
22+
import java.util.concurrent.ConcurrentMap;
2323

2424
import org.apache.commons.logging.Log;
2525
import org.apache.commons.logging.LogFactory;
@@ -86,7 +86,7 @@ public abstract class TransactionAspectSupport implements BeanFactoryAware, Init
8686
new NamedThreadLocal<TransactionInfo>("Current aspect-driven transaction");
8787

8888

89-
private final Map<Object, PlatformTransactionManager> transactionManagerCache =
89+
private final ConcurrentMap<Object, PlatformTransactionManager> transactionManagerCache =
9090
new ConcurrentHashMap<Object, PlatformTransactionManager>();
9191

9292
/**

0 commit comments

Comments
 (0)