Upgraded to use a non-deprecated factory constructor

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15333 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Manik Surtani 2008-10-13 09:17:58 +00:00
parent 3a083fc12a
commit 7f58da9351
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ public class SharedCacheInstanceManager implements CacheInstanceManager {
protected Cache createSharedCache(Settings settings, Properties properties) protected Cache createSharedCache(Settings settings, Properties properties)
{ {
String configResource = PropertiesHelper.getString(CACHE_RESOURCE_PROP, properties, DEFAULT_CACHE_RESOURCE); String configResource = PropertiesHelper.getString(CACHE_RESOURCE_PROP, properties, DEFAULT_CACHE_RESOURCE);
return DefaultCacheFactory.getInstance().createCache(configResource, false); return new DefaultCacheFactory().createCache(configResource, false);
} }
/** /**