Skip to content

Commit 7928e7c

Browse files
committed
Removed TODOs after adding JIRA issues
1 parent 3819082 commit 7928e7c

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

driver/src/main/com/mongodb/MapReduceCommand.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,6 @@ MapReduce getMapReduce(final DBObjectCodec codec) {
387387
default:
388388
throw new IllegalArgumentException("Unexpected action on target collection");
389389
}
390-
//TODO: sharded?
391-
//TODO: non-atomic?
392390
mapReduce = new MapReduce(new BsonJavaScript(map), new BsonJavaScript(reduce), output);
393391
}
394392

@@ -414,7 +412,6 @@ MapReduce getMapReduce(final DBObjectCodec codec) {
414412
if (verbose) {
415413
mapReduce.verbose();
416414
}
417-
//TODO: jsMode?
418415
return mapReduce;
419416
}
420417
}

driver/src/main/com/mongodb/MongoCollectionImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ public WriteResult insert(final List<T> documents) {
354354
@Override
355355
public WriteResult save(final T document) {
356356
if (!(codec instanceof CollectibleCodec)) {
357-
throw new UnsupportedOperationException(); // TODO: support this
357+
throw new UnsupportedOperationException();
358358
}
359359
CollectibleCodec<T> collectibleCodec = (CollectibleCodec<T>) codec;
360360
if (!collectibleCodec.documentHasId(document)) {

0 commit comments

Comments
 (0)