From d8a2caf954181db9c9913c0d6b0a080a9957e566 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 Fix wrong asserted code in ConvertingCursor --- .../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 41ceacf4c2..528ea90a2e 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; }