Commit 72561f89 authored by Stephane Nicoll's avatar Stephane Nicoll

Fix typo

parent 45023caa
...@@ -111,11 +111,11 @@ public class CacheAutoConfiguration { ...@@ -111,11 +111,11 @@ public class CacheAutoConfiguration {
private CacheProperties cacheProperties; private CacheProperties cacheProperties;
@Autowired(required = false) @Autowired(required = false)
private CacheManager beanFactory; private CacheManager cacheManager;
@PostConstruct @PostConstruct
public void checkHasCacheManager() { public void checkHasCacheManager() {
Assert.notNull(this.beanFactory, "No cache manager could " Assert.notNull(this.cacheManager, "No cache manager could "
+ "be auto-configured, check your configuration (caching " + "be auto-configured, check your configuration (caching "
+ "type is '" + this.cacheProperties.getType() + "')"); + "type is '" + this.cacheProperties.getType() + "')");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment