From 6a1d7f8a0620038c024ffe77aa902333ef5ce52f Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Thu, 18 Jan 2024 10:58:21 +0100 Subject: [PATCH] =?UTF-8?q?Update=20deprecation=20description=20of=20`Jedi?= =?UTF-8?q?sConnectionFactory.setDatabase(=E2=80=A6)`.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mention database index instead of client name. Closes #2831 --- .../data/redis/connection/jedis/JedisConnectionFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/springframework/data/redis/connection/jedis/JedisConnectionFactory.java b/src/main/java/org/springframework/data/redis/connection/jedis/JedisConnectionFactory.java index 0ab5d9bae..fe2d46bc5 100644 --- a/src/main/java/org/springframework/data/redis/connection/jedis/JedisConnectionFactory.java +++ b/src/main/java/org/springframework/data/redis/connection/jedis/JedisConnectionFactory.java @@ -681,8 +681,8 @@ public class JedisConnectionFactory implements InitializingBean, DisposableBean, * Sets the index of the database used by this connection factory. Default is 0. * * @param index database index. - * @deprecated since 2.0, configure the client name using {@link RedisSentinelConfiguration} or - * {@link RedisStandaloneConfiguration}. + * @deprecated since 2.0, configure the database index using {@link RedisStandaloneConfiguration} or + * {@link RedisSentinelConfiguration}. */ @Deprecated public void setDatabase(int index) {