diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/LettuceConnectionConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/LettuceConnectionConfiguration.java index 1686dc069a..489ca4aed7 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/LettuceConnectionConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/LettuceConnectionConfiguration.java @@ -90,6 +90,7 @@ class LettuceConnectionConfiguration extends RedisConnectionConfiguration { this.properties.getLettuce().getPool(), clientResources))); } + @SuppressWarnings("deprecation") private LettuceConnectionFactory applyProperties( LettuceConnectionFactory connectionFactory) { connectionFactory