Skip to content

Commit 4b33a62

Browse files
committed
DATAREDIS-1231 - Polishing.
Add author tag. Fix typos in test method names. Original pull request: #568.
1 parent ead954a commit 4b33a62

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

src/main/java/org/springframework/data/redis/connection/jedis/JedisClusterListCommands.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
/**
3232
* @author Christoph Strobl
3333
* @author Mark Paluch
34+
* @author Jot Zhao
3435
* @since 2.0
3536
*/
3637
class JedisClusterListCommands implements RedisListCommands {

src/test/java/org/springframework/data/redis/connection/ClusterConnectionTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ public interface ClusterConnectionTests {
4646
void bitOpShouldThrowExceptionWhenKeysDoNotMapToSameSlot();
4747

4848
// DATAREDIS-315
49-
void blPopShouldPopElementCorectly();
49+
void blPopShouldPopElementCorrectly();
5050

5151
// DATAREDIS-315
52-
void blPopShouldPopElementCorectlyWhenKeyOnSameSlot();
52+
void blPopShouldPopElementCorrectlyWhenKeyOnSameSlot();
5353

5454
// DATAREDIS-315
55-
void brPopShouldPopElementCorectly();
55+
void brPopShouldPopElementCorrectly();
5656

5757
// DATAREDIS-315
58-
void brPopShouldPopElementCorectlyWhenKeyOnSameSlot();
58+
void brPopShouldPopElementCorrectlyWhenKeyOnSameSlot();
5959

6060
// DATAREDIS-315
6161
void clientListShouldGetInfosForAllClients();

src/test/java/org/springframework/data/redis/connection/jedis/JedisClusterConnectionTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public void bitOpShouldWorkCorrectly() {
202202
}
203203

204204
@Test // DATAREDIS-315
205-
public void blPopShouldPopElementCorectly() {
205+
public void blPopShouldPopElementCorrectly() {
206206

207207
nativeConnection.lpush(KEY_1_BYTES, VALUE_1_BYTES, VALUE_2_BYTES);
208208
nativeConnection.lpush(KEY_2_BYTES, VALUE_3_BYTES);
@@ -211,7 +211,7 @@ public void blPopShouldPopElementCorectly() {
211211
}
212212

213213
@Test // DATAREDIS-315
214-
public void blPopShouldPopElementCorectlyWhenKeyOnSameSlot() {
214+
public void blPopShouldPopElementCorrectlyWhenKeyOnSameSlot() {
215215

216216
nativeConnection.lpush(SAME_SLOT_KEY_1_BYTES, VALUE_1_BYTES, VALUE_2_BYTES);
217217
nativeConnection.lpush(SAME_SLOT_KEY_2_BYTES, VALUE_3_BYTES);
@@ -220,7 +220,7 @@ public void blPopShouldPopElementCorectlyWhenKeyOnSameSlot() {
220220
}
221221

222222
@Test // DATAREDIS-315
223-
public void brPopShouldPopElementCorectly() {
223+
public void brPopShouldPopElementCorrectly() {
224224

225225
nativeConnection.lpush(KEY_1_BYTES, VALUE_1_BYTES, VALUE_2_BYTES);
226226
nativeConnection.lpush(KEY_2_BYTES, VALUE_3_BYTES);
@@ -229,7 +229,7 @@ public void brPopShouldPopElementCorectly() {
229229
}
230230

231231
@Test // DATAREDIS-315
232-
public void brPopShouldPopElementCorectlyWhenKeyOnSameSlot() {
232+
public void brPopShouldPopElementCorrectlyWhenKeyOnSameSlot() {
233233

234234
nativeConnection.lpush(SAME_SLOT_KEY_1_BYTES, VALUE_1_BYTES, VALUE_2_BYTES);
235235
nativeConnection.lpush(SAME_SLOT_KEY_2_BYTES, VALUE_3_BYTES);

src/test/java/org/springframework/data/redis/connection/lettuce/LettuceClusterConnectionTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public void bitOpShouldWorkCorrectly() {
234234
}
235235

236236
@Test // DATAREDIS-315
237-
public void blPopShouldPopElementCorectly() {
237+
public void blPopShouldPopElementCorrectly() {
238238

239239
nativeConnection.lpush(KEY_1, VALUE_1, VALUE_2);
240240
nativeConnection.lpush(KEY_2, VALUE_3);
@@ -243,7 +243,7 @@ public void blPopShouldPopElementCorectly() {
243243
}
244244

245245
@Test // DATAREDIS-315
246-
public void blPopShouldPopElementCorectlyWhenKeyOnSameSlot() {
246+
public void blPopShouldPopElementCorrectlyWhenKeyOnSameSlot() {
247247

248248
nativeConnection.lpush(SAME_SLOT_KEY_1, VALUE_1, VALUE_2);
249249
nativeConnection.lpush(SAME_SLOT_KEY_2, VALUE_3);
@@ -252,7 +252,7 @@ public void blPopShouldPopElementCorectlyWhenKeyOnSameSlot() {
252252
}
253253

254254
@Test // DATAREDIS-315
255-
public void brPopShouldPopElementCorectly() {
255+
public void brPopShouldPopElementCorrectly() {
256256

257257
nativeConnection.lpush(KEY_1, VALUE_1, VALUE_2);
258258
nativeConnection.lpush(KEY_2, VALUE_3);
@@ -261,7 +261,7 @@ public void brPopShouldPopElementCorectly() {
261261
}
262262

263263
@Test // DATAREDIS-315
264-
public void brPopShouldPopElementCorectlyWhenKeyOnSameSlot() {
264+
public void brPopShouldPopElementCorrectlyWhenKeyOnSameSlot() {
265265

266266
nativeConnection.lpush(SAME_SLOT_KEY_1, VALUE_1, VALUE_2);
267267
nativeConnection.lpush(SAME_SLOT_KEY_2, VALUE_3);

0 commit comments

Comments
 (0)