File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
driver-core/src/test/functional/com/mongodb/internal/operation Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -37,16 +37,6 @@ import static com.mongodb.ClusterFixture.getServerApi
3737import static com.mongodb.ClusterFixture.serverVersionLessThan
3838
3939class QueryOperationHelper {
40- static BsonDocument sanitizeExplainResult (BsonDocument document ) {
41- document. remove(' ok' )
42- document. remove(' millis' )
43- document. remove(' executionStats' )
44- document. remove(' serverInfo' )
45- document. remove(' executionTimeMillis' )
46- document. remove(' operationTime' )
47- document. remove(' $clusterTime' )
48- document
49- }
5040
5141 static BsonDocument getKeyPattern (BsonDocument explainPlan ) {
5242 BsonDocument winningPlan = explainPlan. getDocument(' queryPlanner' ). getDocument(' winningPlan' )
@@ -87,7 +77,7 @@ class QueryOperationHelper {
8777 if (e. getErrorCode() == 43 ) {
8878 throw new MongoCursorNotFoundException (serverCursor. getId(), e. getResponse(), serverCursor. getAddress())
8979 } else {
90- throw new MongoQueryException (e. getResponse(), e. getServerAddress());
80+ throw new MongoQueryException (e. getResponse(), e. getServerAddress())
9181 }
9282 }
9383 }
You can’t perform that action at this time.
0 commit comments