From 1b89d9d7c467f2aa65b45f7c1aa57a8b49924fe9 Mon Sep 17 00:00:00 2001 From: Wang Zhi Date: Tue, 14 May 2024 21:36:37 +0800 Subject: [PATCH] Mark dnsResolver(DnsResolver) as deprecated. --- .../java/io/lettuce/core/resource/DefaultClientResources.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/io/lettuce/core/resource/DefaultClientResources.java b/src/main/java/io/lettuce/core/resource/DefaultClientResources.java index 1922bfef66..592ffff4ab 100644 --- a/src/main/java/io/lettuce/core/resource/DefaultClientResources.java +++ b/src/main/java/io/lettuce/core/resource/DefaultClientResources.java @@ -447,7 +447,9 @@ public Builder computationThreadPoolSize(int computationThreadPoolSize) { * @param dnsResolver the DNS resolver, must not be {@code null}. * @return {@code this} {@link Builder}. * @since 4.3 + * @deprecated since 6.1. Configure {@link AddressResolverGroup} instead. */ + @Deprecated @Override public Builder dnsResolver(DnsResolver dnsResolver) {