diff --git a/src/main/java/org/springframework/data/redis/core/ListOperations.java b/src/main/java/org/springframework/data/redis/core/ListOperations.java index cd13c65b4..01c2848c9 100644 --- a/src/main/java/org/springframework/data/redis/core/ListOperations.java +++ b/src/main/java/org/springframework/data/redis/core/ListOperations.java @@ -388,6 +388,7 @@ public interface ListOperations { * @since 2.4 * @see Redis Documentation: LPOS */ + @Nullable Long indexOf(K key, V value); /** @@ -400,6 +401,7 @@ public interface ListOperations { * @since 2.4 * @see Redis Documentation: LPOS */ + @Nullable Long lastIndexOf(K key, V value); /**