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; }