Merge pull request #3227 from izeye/cache-config

* cache-config:
  Fix typo in cache auto-configurations
pull/3227/merge
Stephane Nicoll 10 years ago
commit d93a76cc57

@ -71,7 +71,7 @@ class EhCacheCacheConfiguration {
static class ConfigAvailableCondition extends CacheConfigFileCondition {
public ConfigAvailableCondition() {
super("EhCache", "spring.config.ehcache", "classpath:/ehcache.xml");
super("EhCache", "spring.cache.ehcache", "classpath:/ehcache.xml");
}
}

@ -81,7 +81,7 @@ class HazelcastCacheConfiguration {
static class ConfigAvailableCondition extends CacheConfigFileCondition {
public ConfigAvailableCondition() {
super("Hazelcast", "spring.config.hazelcast", "file:./hazelcast.xml",
super("Hazelcast", "spring.cache.hazelcast", "file:./hazelcast.xml",
"classpath:/hazelcast.xml");
}

Loading…
Cancel
Save