From b13690c6110bfad3cefe67bcc9e90da5427772af Mon Sep 17 00:00:00 2001 From: Mingyuan Wu Date: Thu, 31 Aug 2023 16:37:28 +0800 Subject: [PATCH] Fix wrong asserted code in ConvertingCursor. Pull Request: #2696 --- .../org/springframework/data/redis/core/ConvertingCursor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/data/redis/core/ConvertingCursor.java b/src/main/java/org/springframework/data/redis/core/ConvertingCursor.java index 41ceacf4c..528ea90a2 100644 --- a/src/main/java/org/springframework/data/redis/core/ConvertingCursor.java +++ b/src/main/java/org/springframework/data/redis/core/ConvertingCursor.java @@ -41,7 +41,7 @@ public class ConvertingCursor implements Cursor { public ConvertingCursor(Cursor cursor, Converter converter) { Assert.notNull(cursor, "Cursor delegate must not be 'null'"); - Assert.notNull(cursor, "Converter must not be 'null'"); + Assert.notNull(converter, "Converter must not be 'null'"); this.delegate = cursor; this.converter = converter; }