Browse Source

Fix typo

pull/2705/merge
Stephane Nicoll 11 years ago
parent
commit
72561f8969
  1. 4
      spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheAutoConfiguration.java

4
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheAutoConfiguration.java vendored

@ -111,11 +111,11 @@ public class CacheAutoConfiguration { @@ -111,11 +111,11 @@ public class CacheAutoConfiguration {
private CacheProperties cacheProperties;
@Autowired(required = false)
private CacheManager beanFactory;
private CacheManager cacheManager;
@PostConstruct
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 "
+ "type is '" + this.cacheProperties.getType() + "')");
}

Loading…
Cancel
Save