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 c9a911af35..75f8e8ef7c 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 @@ -73,10 +73,10 @@ public class CacheManagerCustomizers { 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); } }