Skip to content

Commit 93f0ac1

Browse files
committed
Remove deprecation of DBCursor#explain
Since we ended up adding explain support to FindIterable, no reason to leave it deprecated in the legacy API. JAVA-5154
1 parent 3e7401b commit 93f0ac1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

driver-legacy/src/main/com/mongodb/DBCursor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,6 @@ public DBCursor maxTime(final long maxTime, final TimeUnit timeUnit) {
369369
* @mongodb.driver.manual reference/command/explain Explain Output
370370
* @mongodb.server.release 3.0
371371
*/
372-
@Deprecated
373372
public DBObject explain() {
374373
return executor.execute(getQueryOperation(collection.getObjectCodec())
375374
.asExplainableOperation(null, getDefaultCodecRegistry().get(DBObject.class)),

0 commit comments

Comments
 (0)