File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
redis-driver/src/main/java/org/eclipse/jnosql/communication/redis/keyvalue Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ public void add(Ranking ranking) throws NullPointerException {
5959 public Number increment (String member , Number value ) throws NullPointerException {
6060 Objects .requireNonNull (member , "member is required" );
6161 Objects .requireNonNull (value , "value is required" );
62- return jedis .zincrby (key , value .doubleValue (), member ). longValue () ;
62+ return jedis .zincrby (key , value .doubleValue (), member );
6363 }
6464
6565 @ Override
@@ -76,7 +76,7 @@ public void remove(String member) throws NullPointerException {
7676
7777 @ Override
7878 public int size () {
79- return jedis .zcard (key ). intValue ( );
79+ return ( int ) jedis .zcard (key );
8080 }
8181
8282 @ Override
You can’t perform that action at this time.
0 commit comments