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); } } diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/TransactionManagerCustomizers.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/TransactionManagerCustomizers.java index 8a79946283..b086ee60a9 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/TransactionManagerCustomizers.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/TransactionManagerCustomizers.java @@ -66,7 +66,7 @@ public class TransactionManagerCustomizers { customizer.customize(transactionManager); } 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: "