diff --git a/src/main/java/org/springframework/data/redis/connection/jedis/JedisClusterListCommands.java b/src/main/java/org/springframework/data/redis/connection/jedis/JedisClusterListCommands.java index df51e1ed1..aecb2d2aa 100644 --- a/src/main/java/org/springframework/data/redis/connection/jedis/JedisClusterListCommands.java +++ b/src/main/java/org/springframework/data/redis/connection/jedis/JedisClusterListCommands.java @@ -31,6 +31,7 @@ import org.springframework.util.CollectionUtils; /** * @author Christoph Strobl * @author Mark Paluch + * @author Jot Zhao * @since 2.0 */ class JedisClusterListCommands implements RedisListCommands { diff --git a/src/test/java/org/springframework/data/redis/connection/ClusterConnectionTests.java b/src/test/java/org/springframework/data/redis/connection/ClusterConnectionTests.java index 54e4aaef3..14af9eb7e 100644 --- a/src/test/java/org/springframework/data/redis/connection/ClusterConnectionTests.java +++ b/src/test/java/org/springframework/data/redis/connection/ClusterConnectionTests.java @@ -46,16 +46,16 @@ public interface ClusterConnectionTests { void bitOpShouldThrowExceptionWhenKeysDoNotMapToSameSlot(); // DATAREDIS-315 - void blPopShouldPopElementCorectly(); + void blPopShouldPopElementCorrectly(); // DATAREDIS-315 - void blPopShouldPopElementCorectlyWhenKeyOnSameSlot(); + void blPopShouldPopElementCorrectlyWhenKeyOnSameSlot(); // DATAREDIS-315 - void brPopShouldPopElementCorectly(); + void brPopShouldPopElementCorrectly(); // DATAREDIS-315 - void brPopShouldPopElementCorectlyWhenKeyOnSameSlot(); + void brPopShouldPopElementCorrectlyWhenKeyOnSameSlot(); // DATAREDIS-315 void clientListShouldGetInfosForAllClients(); diff --git a/src/test/java/org/springframework/data/redis/connection/jedis/JedisClusterConnectionTests.java b/src/test/java/org/springframework/data/redis/connection/jedis/JedisClusterConnectionTests.java index 7dbddc466..4ac0e6d47 100644 --- a/src/test/java/org/springframework/data/redis/connection/jedis/JedisClusterConnectionTests.java +++ b/src/test/java/org/springframework/data/redis/connection/jedis/JedisClusterConnectionTests.java @@ -202,7 +202,7 @@ public class JedisClusterConnectionTests implements ClusterConnectionTests { } @Test // DATAREDIS-315 - public void blPopShouldPopElementCorectly() { + public void blPopShouldPopElementCorrectly() { nativeConnection.lpush(KEY_1_BYTES, VALUE_1_BYTES, VALUE_2_BYTES); nativeConnection.lpush(KEY_2_BYTES, VALUE_3_BYTES); @@ -211,7 +211,7 @@ public class JedisClusterConnectionTests implements ClusterConnectionTests { } @Test // DATAREDIS-315 - public void blPopShouldPopElementCorectlyWhenKeyOnSameSlot() { + public void blPopShouldPopElementCorrectlyWhenKeyOnSameSlot() { nativeConnection.lpush(SAME_SLOT_KEY_1_BYTES, VALUE_1_BYTES, VALUE_2_BYTES); nativeConnection.lpush(SAME_SLOT_KEY_2_BYTES, VALUE_3_BYTES); @@ -220,7 +220,7 @@ public class JedisClusterConnectionTests implements ClusterConnectionTests { } @Test // DATAREDIS-315 - public void brPopShouldPopElementCorectly() { + public void brPopShouldPopElementCorrectly() { nativeConnection.lpush(KEY_1_BYTES, VALUE_1_BYTES, VALUE_2_BYTES); nativeConnection.lpush(KEY_2_BYTES, VALUE_3_BYTES); @@ -229,7 +229,7 @@ public class JedisClusterConnectionTests implements ClusterConnectionTests { } @Test // DATAREDIS-315 - public void brPopShouldPopElementCorectlyWhenKeyOnSameSlot() { + public void brPopShouldPopElementCorrectlyWhenKeyOnSameSlot() { nativeConnection.lpush(SAME_SLOT_KEY_1_BYTES, VALUE_1_BYTES, VALUE_2_BYTES); nativeConnection.lpush(SAME_SLOT_KEY_2_BYTES, VALUE_3_BYTES); diff --git a/src/test/java/org/springframework/data/redis/connection/lettuce/LettuceClusterConnectionTests.java b/src/test/java/org/springframework/data/redis/connection/lettuce/LettuceClusterConnectionTests.java index 0d4a530b4..e88782d16 100644 --- a/src/test/java/org/springframework/data/redis/connection/lettuce/LettuceClusterConnectionTests.java +++ b/src/test/java/org/springframework/data/redis/connection/lettuce/LettuceClusterConnectionTests.java @@ -234,7 +234,7 @@ public class LettuceClusterConnectionTests implements ClusterConnectionTests { } @Test // DATAREDIS-315 - public void blPopShouldPopElementCorectly() { + public void blPopShouldPopElementCorrectly() { nativeConnection.lpush(KEY_1, VALUE_1, VALUE_2); nativeConnection.lpush(KEY_2, VALUE_3); @@ -243,7 +243,7 @@ public class LettuceClusterConnectionTests implements ClusterConnectionTests { } @Test // DATAREDIS-315 - public void blPopShouldPopElementCorectlyWhenKeyOnSameSlot() { + public void blPopShouldPopElementCorrectlyWhenKeyOnSameSlot() { nativeConnection.lpush(SAME_SLOT_KEY_1, VALUE_1, VALUE_2); nativeConnection.lpush(SAME_SLOT_KEY_2, VALUE_3); @@ -252,7 +252,7 @@ public class LettuceClusterConnectionTests implements ClusterConnectionTests { } @Test // DATAREDIS-315 - public void brPopShouldPopElementCorectly() { + public void brPopShouldPopElementCorrectly() { nativeConnection.lpush(KEY_1, VALUE_1, VALUE_2); nativeConnection.lpush(KEY_2, VALUE_3); @@ -261,7 +261,7 @@ public class LettuceClusterConnectionTests implements ClusterConnectionTests { } @Test // DATAREDIS-315 - public void brPopShouldPopElementCorectlyWhenKeyOnSameSlot() { + public void brPopShouldPopElementCorrectlyWhenKeyOnSameSlot() { nativeConnection.lpush(SAME_SLOT_KEY_1, VALUE_1, VALUE_2); nativeConnection.lpush(SAME_SLOT_KEY_2, VALUE_3);