diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheManagerCustomizers.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheManagerCustomizers.java index fb76047a0d..716a1ebdf6 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheManagerCustomizers.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheManagerCustomizers.java @@ -70,10 +70,10 @@ class CacheManagerCustomizers implements ApplicationContextAware { customizer.customize(cacheManager); } catch (ClassCastException ex) { - // Possibly a lambda-defined listener which we could not resolve the generic + // Possibly a lambda-defined customizer which we could not resolve the generic // event type for if (logger.isDebugEnabled()) { - logger.debug("Non-matching transaction manager type for customizer: " + logger.debug("Non-matching cache manager type for customizer: " + customizer, ex); } }