Skip to content

Commit cb0d596

Browse files
committed
Remove TODOs.
JAVA-5530
1 parent 78760c0 commit cb0d596

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -685,8 +685,6 @@ private static final class ExhaustiveClientBulkWriteCommandOkResponse {
685685
} else if (cursorExhaustBatches.size() == 1) {
686686
cursorExhaust = cursorExhaustBatches.get(0);
687687
} else {
688-
//TODO-VALENTIN-question can we do this flatmap in cursor exasust method to simplify the flow?
689-
// we can do either flat map above or change getCursorExhaust to return List of Lists (if any perf benefit)
690688
cursorExhaust = cursorExhaustBatches.stream().flatMap(Collection::stream).collect(toList());
691689
}
692690
}

0 commit comments

Comments
 (0)