fix add() method throw NPE

Signed-off-by: yuwei <yuwei@wesine.com>
pull/4598/head
yuwei 2 years ago
parent df36854c79
commit fd4824881e

@ -47,7 +47,7 @@ public class RedissonSortedSet<V> extends RedissonObject implements RSortedSet<V
public static class BinarySearchResult<V> {
private V value;
private Integer index;
private int index = -1;
public BinarySearchResult(V value) {
super();

Loading…
Cancel
Save