Fixed ConcurrentMap declaration
This commit is contained in:
parent
29e8ba3efc
commit
23135b19b3
|
|
@ -17,9 +17,9 @@
|
||||||
package org.springframework.transaction.interceptor;
|
package org.springframework.transaction.interceptor;
|
||||||
|
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.util.Map;
|
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
import java.util.concurrent.ConcurrentHashMap;
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
|
import java.util.concurrent.ConcurrentMap;
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
|
|
@ -86,7 +86,7 @@ public abstract class TransactionAspectSupport implements BeanFactoryAware, Init
|
||||||
new NamedThreadLocal<TransactionInfo>("Current aspect-driven transaction");
|
new NamedThreadLocal<TransactionInfo>("Current aspect-driven transaction");
|
||||||
|
|
||||||
|
|
||||||
private final Map<Object, PlatformTransactionManager> transactionManagerCache =
|
private final ConcurrentMap<Object, PlatformTransactionManager> transactionManagerCache =
|
||||||
new ConcurrentHashMap<Object, PlatformTransactionManager>();
|
new ConcurrentHashMap<Object, PlatformTransactionManager>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue