Refactor Infinispan example (#3684)
* Refactor Infinispan examples * Refactor Infinispan examples
This commit is contained in:
committed by
Predrag Maric
parent
6da6722ec4
commit
c0bf1c7a93
@@ -20,8 +20,7 @@ public class CacheConfiguration {
|
||||
public static final String TRANSACTIONAL_CACHE = "transactional-cache";
|
||||
|
||||
public DefaultCacheManager cacheManager() {
|
||||
DefaultCacheManager cacheManager = new DefaultCacheManager();
|
||||
return cacheManager;
|
||||
return new DefaultCacheManager();
|
||||
}
|
||||
|
||||
public Cache<String, Integer> transactionalCache(DefaultCacheManager cacheManager, CacheListener listener) {
|
||||
|
||||
Reference in New Issue
Block a user