Fix wrong asserted code in ConvertingCursor.

Pull Request: #2696
This commit is contained in:
Mingyuan Wu
2023-08-31 16:37:28 +08:00
committed by John Blum
parent 77b2d9e701
commit b13690c611

View File

@@ -41,7 +41,7 @@ public class ConvertingCursor<S, T> implements Cursor<T> {
public ConvertingCursor(Cursor<S> cursor, Converter<S, T> 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;
}