Author: bstansberry(a)jboss.com
Date: 2009-03-17 15:04:10 -0400 (Tue, 17 Mar 2009)
New Revision: 16169
Modified:
core/trunk/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/CacheTestCaseBase.java
Log:
Clean up compiler warns
Modified:
core/trunk/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/CacheTestCaseBase.java
===================================================================
---
core/trunk/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/CacheTestCaseBase.java 2009-03-17
13:23:54 UTC (rev 16168)
+++
core/trunk/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/CacheTestCaseBase.java 2009-03-17
19:04:10 UTC (rev 16169)
@@ -23,7 +23,6 @@
*/
package org.hibernate.test.cache.jbc2.functional;
-import org.hibernate.cache.RegionFactory;
import org.hibernate.cfg.Configuration;
import org.hibernate.cfg.Environment;
import org.hibernate.cfg.Mappings;
@@ -73,7 +72,7 @@
cfg.setProperty(Environment.CONNECTION_PROVIDER,
getConnectionProviderClass().getName());
cfg.setProperty(Environment.TRANSACTION_MANAGER_STRATEGY,
getTransactionManagerLookupClass().getName());
- Class transactionFactory = getTransactionFactoryClass();
+ Class<?> transactionFactory = getTransactionFactoryClass();
if (transactionFactory != null)
cfg.setProperty( Environment.TRANSACTION_STRATEGY,
transactionFactory.getName() );
@@ -101,19 +100,19 @@
*/
protected abstract void configureCacheFactory(Configuration cfg);
- protected abstract Class getCacheRegionFactory();
+ protected abstract Class<?> getCacheRegionFactory();
protected abstract boolean getUseQueryCache();
- protected Class getConnectionProviderClass() {
+ protected Class<?> getConnectionProviderClass() {
return org.hibernate.test.tm.ConnectionProviderImpl.class;
}
- protected Class getTransactionManagerLookupClass() {
+ protected Class<?> getTransactionManagerLookupClass() {
return org.hibernate.test.tm.TransactionManagerLookupImpl.class;
}
- protected Class getTransactionFactoryClass() {
+ protected Class<?> getTransactionFactoryClass() {
return null;
}
Show replies by date