Skip to content

Commit 2a67774

Browse files
committed
Make comment field final in QueryBatchCursor
1 parent e3cab42 commit 2a67774

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class QueryBatchCursor<T> implements AggregateResponseBatchCursor<T> {
8686
private final Decoder<T> decoder;
8787
private final long maxTimeMS;
8888
private int batchSize;
89-
private BsonValue comment;
89+
private final BsonValue comment;
9090
private List<T> nextBatch;
9191
private int count;
9292
private BsonDocument postBatchResumeToken;

0 commit comments

Comments
 (0)