Skip to content

Commit 6f43646

Browse files
committed
Remove redundant cast of null
1 parent 71259ae commit 6f43646

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver-core/src/main/com/mongodb/operation/QueryBatchCursor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class QueryBatchCursor<T> implements BatchCursor<T> {
6060
private boolean closed;
6161

6262
QueryBatchCursor(final QueryResult<T> firstQueryResult, final int limit, final int batchSize, final Decoder<T> decoder) {
63-
this(firstQueryResult, limit, batchSize, decoder, (ConnectionSource) null);
63+
this(firstQueryResult, limit, batchSize, decoder, null);
6464
}
6565

6666
QueryBatchCursor(final QueryResult<T> firstQueryResult, final int limit, final int batchSize,

0 commit comments

Comments
 (0)