Skip to content

Commit e67a80f

Browse files
committed
Merge pull request #675 from evenX86/patch-1
fix comment which describe LPOP from rpop method
2 parents 76df52e + 088d86a commit e67a80f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
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.

0 commit comments

Comments
 (0)