Fixed ConcurrentMap declaration
This commit is contained in:
@@ -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>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user