Skip to content

Commit b13690c

Browse files
m1ngyuanjxblum
authored andcommitted
Fix wrong asserted code in ConvertingCursor.
Pull Request: #2696
1 parent 77b2d9e commit b13690c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/redis/core/ConvertingCursor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class ConvertingCursor<S, T> implements Cursor<T> {
4141
public ConvertingCursor(Cursor<S> cursor, Converter<S, T> converter) {
4242

4343
Assert.notNull(cursor, "Cursor delegate must not be 'null'");
44-
Assert.notNull(cursor, "Converter must not be 'null'");
44+
Assert.notNull(converter, "Converter must not be 'null'");
4545
this.delegate = cursor;
4646
this.converter = converter;
4747
}

0 commit comments

Comments
 (0)