From 10aeb689443b02675c473fb3990b586f6ad043e4 Mon Sep 17 00:00:00 2001 From: M Sazzadul Hoque <7600764+sazzad16@users.noreply.github.com> Date: Wed, 18 Oct 2023 21:26:04 +0600 Subject: [PATCH] Move JedisMetaInfo into parent package and make it package private --- src/main/java/redis/clients/jedis/Connection.java | 1 - .../java/redis/clients/jedis/{util => }/JedisMetaInfo.java | 4 ++-- src/test/java/redis/clients/jedis/JedisTest.java | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) rename src/main/java/redis/clients/jedis/{util => }/JedisMetaInfo.java (93%) diff --git a/src/main/java/redis/clients/jedis/Connection.java b/src/main/java/redis/clients/jedis/Connection.java index ada7592e3b..5cb276a2c6 100644 --- a/src/main/java/redis/clients/jedis/Connection.java +++ b/src/main/java/redis/clients/jedis/Connection.java @@ -23,7 +23,6 @@ import redis.clients.jedis.exceptions.JedisException; import redis.clients.jedis.exceptions.JedisValidationException; import redis.clients.jedis.util.IOUtils; -import redis.clients.jedis.util.JedisMetaInfo; import redis.clients.jedis.util.RedisInputStream; import redis.clients.jedis.util.RedisOutputStream; diff --git a/src/main/java/redis/clients/jedis/util/JedisMetaInfo.java b/src/main/java/redis/clients/jedis/JedisMetaInfo.java similarity index 93% rename from src/main/java/redis/clients/jedis/util/JedisMetaInfo.java rename to src/main/java/redis/clients/jedis/JedisMetaInfo.java index 0025f3a522..f814ecaeb2 100644 --- a/src/main/java/redis/clients/jedis/util/JedisMetaInfo.java +++ b/src/main/java/redis/clients/jedis/JedisMetaInfo.java @@ -1,4 +1,4 @@ -package redis.clients.jedis.util; +package redis.clients.jedis; import java.io.InputStream; import java.util.Properties; @@ -7,7 +7,7 @@ /** * Jedis Meta info load version groupId */ -public class JedisMetaInfo { +class JedisMetaInfo { private static final String groupId; private static final String artifactId; diff --git a/src/test/java/redis/clients/jedis/JedisTest.java b/src/test/java/redis/clients/jedis/JedisTest.java index e9849e7b7b..e9520ff394 100644 --- a/src/test/java/redis/clients/jedis/JedisTest.java +++ b/src/test/java/redis/clients/jedis/JedisTest.java @@ -22,7 +22,6 @@ import redis.clients.jedis.exceptions.JedisConnectionException; import redis.clients.jedis.exceptions.JedisException; import redis.clients.jedis.commands.jedis.JedisCommandsTestBase; -import redis.clients.jedis.util.JedisMetaInfo; import redis.clients.jedis.util.SafeEncoder; public class JedisTest extends JedisCommandsTestBase {