HHH-6214 Updated test

This commit is contained in:
Hardy Ferentschik 2011-05-10 17:13:02 +02:00
parent 996d567731
commit 3dfeceffe3
1 changed files with 4 additions and 6 deletions

View File

@ -23,8 +23,10 @@
*/
package org.hibernate.ejb.test.cacheable.annotation;
import javax.persistence.SharedCacheMode;
import java.util.Properties;
import javax.persistence.SharedCacheMode;
import org.junit.Test;
import org.hibernate.cache.internal.NoCachingRegionFactory;
import org.hibernate.cache.spi.access.AccessType;
@ -32,9 +34,6 @@ import org.hibernate.cfg.Environment;
import org.hibernate.ejb.AvailableSettings;
import org.hibernate.ejb.Ejb3Configuration;
import org.hibernate.mapping.PersistentClass;
import org.junit.Test;
import org.hibernate.testing.junit4.BaseUnitTestCase;
import static org.junit.Assert.assertNotNull;
@ -128,8 +127,7 @@ public class ConfigurationTest extends BaseUnitTestCase {
}
public static class CustomRegionFactory extends NoCachingRegionFactory {
public CustomRegionFactory(Properties properties) {
super( properties );
public CustomRegionFactory() {
}
@Override