We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb3ee7e commit 8e45046Copy full SHA for 8e45046
redis-driver/src/main/java/org/eclipse/jnosql/communication/redis/keyvalue/RedisList.java
@@ -16,7 +16,7 @@
16
package org.eclipse.jnosql.communication.redis.keyvalue;
17
18
import redis.clients.jedis.Jedis;
19
-import redis.clients.jedis.ListPosition;
+import redis.clients.jedis.args.ListPosition;
20
21
import java.util.ArrayList;
22
import java.util.Collection;
@@ -34,7 +34,7 @@ class RedisList<T> extends RedisCollection<T> implements List<T> {
34
35
@Override
36
public int size() {
37
- return jedis.llen(keyWithNameSpace).intValue();
+ return (int) jedis.llen(keyWithNameSpace);
38
}
39
40
0 commit comments