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:
Gary Tully 2012-10-09 11:48:46 +00:00
parent cc95295139
commit 486e6374f2
1 changed files with 1 additions and 1 deletions

View File

@ -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);