mirror of
https://github.com/apache/activemq.git
synced 2025-02-09 19:45:55 +00:00
remove unnecessary cast that limits locker impls
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1395977 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cc95295139
commit
486e6374f2
@ -608,7 +608,7 @@ public class JDBCPersistenceAdapter extends DataSourceServiceSupport implements
|
||||
}
|
||||
|
||||
public Locker createDefaultLocker() throws IOException {
|
||||
DefaultDatabaseLocker locker = (DefaultDatabaseLocker) loadAdapter(lockFactoryFinder, "lock");
|
||||
Locker locker = (Locker) loadAdapter(lockFactoryFinder, "lock");
|
||||
if (locker == null) {
|
||||
locker = new DefaultDatabaseLocker();
|
||||
LOG.debug("Using default JDBC Locker: " + locker);
|
||||
|
Loading…
x
Reference in New Issue
Block a user