Skip to content

Commit 3b31ae7

Browse files
committed
Merge branch 'master' into cluster-revised
2 parents 5af952a + 03c0af2 commit 3b31ae7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'maven'
33
apply plugin: 'eclipse'
44

55
group = 'com.googlecode.jedis'
6-
archiveBaseName = 'jedis'
6+
archivesBaseName = 'jedis'
77
version = '1.5.0'
88

99
repositories {

src/main/java/redis/clients/jedis/Jedis.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,8 +1116,8 @@ public String lpop(final String key) {
11161116

11171117
/**
11181118
* Atomically return and remove the first (LPOP) or last (RPOP) element of
1119-
* the list. For example if the list contains the elements "a","b","c" LPOP
1120-
* will return "a" and the list will become "b","c".
1119+
* the list. For example if the list contains the elements "a","b","c" RPOP
1120+
* will return "c" and the list will become "a","b".
11211121
* <p>
11221122
* If the key does not exist or the list is already empty the special value
11231123
* 'nil' is returned.

src/main/java/redis/clients/jedis/JedisCluster.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ public Long hlen(final String key) {
384384
maxRedirections) {
385385
@Override
386386
public Long execute(Jedis connection) {
387-
return connection.hdel(key);
387+
return connection.hlen(key);
388388
}
389389
}.run(key);
390390
}

0 commit comments

Comments
 (0)