Skip to content

Commit 260c572

Browse files
m1ngyuanjxblum
authored andcommitted
Fix wrong asserted code in ConvertingCursor.
Pull Request: spring-projects#2696
1 parent 6b202fd commit 260c572

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ public class ConvertingCursor<S, T> implements Cursor<T> {
4040
*/
4141
public ConvertingCursor(Cursor<S> cursor, Converter<S, T> converter) {
4242

43-
Assert.notNull(cursor, "Cursor delegate must not be 'null'.");
44-
Assert.notNull(cursor, "Converter must not be 'null'.");
43+
Assert.notNull(cursor, "Cursor delegate 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)