-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
Does not compile:
collection.mapReduce("", "").batchCursor(new SingleResultCallback<MapReduceAsyncBatchCursor<Document>>() { @Override public void onResult(final MapReduceAsyncBatchCursor<Document> result, final Throwable t) { throw new UnsupportedOperationException("Not implemented yet!"); } });
Review the implementation the type checking also:
https://github.com/rozza/mongo-java-driver/blob/52dd64229932ce83acdb9a63f47ce198e89fec94/driver-async/src/main/com/mongodb/async/client/OperationIterable.java#L120-L124