Annotate indexOf(..) and lastIndexOf(..) ListOperations with @Nullable.
Closes #2488
This commit is contained in:
@@ -388,6 +388,7 @@ public interface ListOperations<K, V> {
|
|||||||
* @since 2.4
|
* @since 2.4
|
||||||
* @see <a href="https://redis.io/commands/lpos">Redis Documentation: LPOS</a>
|
* @see <a href="https://redis.io/commands/lpos">Redis Documentation: LPOS</a>
|
||||||
*/
|
*/
|
||||||
|
@Nullable
|
||||||
Long indexOf(K key, V value);
|
Long indexOf(K key, V value);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -400,6 +401,7 @@ public interface ListOperations<K, V> {
|
|||||||
* @since 2.4
|
* @since 2.4
|
||||||
* @see <a href="https://redis.io/commands/lpos">Redis Documentation: LPOS</a>
|
* @see <a href="https://redis.io/commands/lpos">Redis Documentation: LPOS</a>
|
||||||
*/
|
*/
|
||||||
|
@Nullable
|
||||||
Long lastIndexOf(K key, V value);
|
Long lastIndexOf(K key, V value);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user