diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2021-03-17 08:02:01 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-25 00:44:22 +0000 |
commit | 3022c66b2af7049f4096cc7117f94f5194c5e1e2 (patch) | |
tree | 43906732591de4f2046563d3822d621be8b25216 /src | |
parent | 609d174c95fdfbc0193e1d7e8804ef20a04f99e1 (diff) | |
download | mongo-3022c66b2af7049f4096cc7117f94f5194c5e1e2.tar.gz |
SERVER-55281 lint for newline violations
Diffstat (limited to 'src')
89 files changed, 89 insertions, 89 deletions
diff --git a/src/mongo/client/mongo_uri_tests/mongo-uri-warnings.json b/src/mongo/client/mongo_uri_tests/mongo-uri-warnings.json index a04246847ab..9e57ec27f41 100644 --- a/src/mongo/client/mongo_uri_tests/mongo-uri-warnings.json +++ b/src/mongo/client/mongo_uri_tests/mongo-uri-warnings.json @@ -53,4 +53,4 @@ } } ] -}
\ No newline at end of file +} diff --git a/src/mongo/config.h.in b/src/mongo/config.h.in index faba0dbc543..19ed7c8ad45 100644 --- a/src/mongo/config.h.in +++ b/src/mongo/config.h.in @@ -102,4 +102,4 @@ @mongo_config_use_raw_latches@ // Defined if WiredTiger storage engine is enabled -@mongo_config_wiredtiger_enabled@
\ No newline at end of file +@mongo_config_wiredtiger_enabled@ diff --git a/src/mongo/db/auth/access_checks.idl b/src/mongo/db/auth/access_checks.idl index 99ded87fd03..d51e03d111c 100644 --- a/src/mongo/db/auth/access_checks.idl +++ b/src/mongo/db/auth/access_checks.idl @@ -54,4 +54,4 @@ enums: kIsImpersonating : "is_impersonating" kLookupUser : "lookup_user" kShouldIgnoreAuthChecks : "should_ignore_auth_checks" - kIsUsingLocalhostBypass : "is_using_localhost_bypass" # Called in common code in commands.cpp dispatch
\ No newline at end of file + kIsUsingLocalhostBypass : "is_using_localhost_bypass" # Called in common code in commands.cpp dispatch diff --git a/src/mongo/db/auth/enable_localhost_auth_bypass_parameter.idl b/src/mongo/db/auth/enable_localhost_auth_bypass_parameter.idl index b93a6fbc7ac..415bf7374d0 100644 --- a/src/mongo/db/auth/enable_localhost_auth_bypass_parameter.idl +++ b/src/mongo/db/auth/enable_localhost_auth_bypass_parameter.idl @@ -7,4 +7,4 @@ server_parameters: set_at: startup cpp_varname: "enableLocalhostAuthBypass" cpp_vartype: bool - default: true
\ No newline at end of file + default: true diff --git a/src/mongo/db/catalog/README.md b/src/mongo/db/catalog/README.md index 87087495bd7..1a890878576 100644 --- a/src/mongo/db/catalog/README.md +++ b/src/mongo/db/catalog/README.md @@ -1862,4 +1862,4 @@ oplog. for removal). - `ops.key-hex` and `ops.value-bson` are specific to the pretty printing tool used. -[read-copy-update]: https://en.wikipedia.org/wiki/Read-copy-update
\ No newline at end of file +[read-copy-update]: https://en.wikipedia.org/wiki/Read-copy-update diff --git a/src/mongo/db/coll_mod.idl b/src/mongo/db/coll_mod.idl index 14e5575f6a1..e26c1da480a 100644 --- a/src/mongo/db/coll_mod.idl +++ b/src/mongo/db/coll_mod.idl @@ -130,4 +130,4 @@ commands: description: "Adjusts the options on clustered indexes" optional: true type: CollModClusteredIndex - reply_type: CollModReply
\ No newline at end of file + reply_type: CollModReply diff --git a/src/mongo/db/coll_mod_reply_validation.h b/src/mongo/db/coll_mod_reply_validation.h index 75e077d7163..cf0fca8359f 100644 --- a/src/mongo/db/coll_mod_reply_validation.h +++ b/src/mongo/db/coll_mod_reply_validation.h @@ -40,4 +40,4 @@ namespace mongo::coll_mod_reply_validation { * - (hidden_new and hidden_old) together or none of them. */ void validateReply(const CollModReply& reply); -} // namespace mongo::coll_mod_reply_validation
\ No newline at end of file +} // namespace mongo::coll_mod_reply_validation diff --git a/src/mongo/db/commands/rotate_certificates.idl b/src/mongo/db/commands/rotate_certificates.idl index 51bc72b32d9..1e1e5cbf0d2 100644 --- a/src/mongo/db/commands/rotate_certificates.idl +++ b/src/mongo/db/commands/rotate_certificates.idl @@ -44,4 +44,4 @@ commands: message: description: "Message to be logged upon successful rotation" type: string - optional: true
\ No newline at end of file + optional: true diff --git a/src/mongo/db/commands/sessions_commands.idl b/src/mongo/db/commands/sessions_commands.idl index 7e6a6693393..82c536a8362 100644 --- a/src/mongo/db/commands/sessions_commands.idl +++ b/src/mongo/db/commands/sessions_commands.idl @@ -52,4 +52,4 @@ commands: cpp_name: RefreshSessionsFromClient strict: true api_version: "1" - reply_type: OkReply
\ No newline at end of file + reply_type: OkReply diff --git a/src/mongo/db/commands/tenant_migration_donor_cmds.idl b/src/mongo/db/commands/tenant_migration_donor_cmds.idl index 3ba8a06ecca..706ec34374c 100644 --- a/src/mongo/db/commands/tenant_migration_donor_cmds.idl +++ b/src/mongo/db/commands/tenant_migration_donor_cmds.idl @@ -110,4 +110,4 @@ commands: fields: migrationId: description: "Unique identifier for the tenant migration." - type: uuid
\ No newline at end of file + type: uuid diff --git a/src/mongo/db/commands/txn_cmds.idl b/src/mongo/db/commands/txn_cmds.idl index 61e7a5adb93..a8ffa5c8b65 100644 --- a/src/mongo/db/commands/txn_cmds.idl +++ b/src/mongo/db/commands/txn_cmds.idl @@ -115,4 +115,4 @@ commands: progress on abort by processing using the info in the recoveryToken." optional: true type: TxnRecoveryToken - reply_type: OkReply
\ No newline at end of file + reply_type: OkReply diff --git a/src/mongo/db/exec/js_function.cpp b/src/mongo/db/exec/js_function.cpp index 36ab0f7cbcb..ae6e479c521 100644 --- a/src/mongo/db/exec/js_function.cpp +++ b/src/mongo/db/exec/js_function.cpp @@ -91,4 +91,4 @@ bool JsFunction::runAsPredicate(const BSONObj& obj) const { return _scope->getBoolean("__returnValue"); } -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/exec/js_function.h b/src/mongo/db/exec/js_function.h index 02bd720ddfd..a658deb81af 100644 --- a/src/mongo/db/exec/js_function.h +++ b/src/mongo/db/exec/js_function.h @@ -46,4 +46,4 @@ private: ScriptingFunction _func; }; -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/exec/sbe/expressions/sbe_mod_expression_test.cpp b/src/mongo/db/exec/sbe/expressions/sbe_mod_expression_test.cpp index 6ca58baf241..59be1d8675e 100644 --- a/src/mongo/db/exec/sbe/expressions/sbe_mod_expression_test.cpp +++ b/src/mongo/db/exec/sbe/expressions/sbe_mod_expression_test.cpp @@ -228,4 +228,4 @@ TEST_F(SBEModExprTest, ErrorIfModRHSIsZero) { runAndAssertThrows(compiledExpr.get()); } -} // namespace mongo::sbe
\ No newline at end of file +} // namespace mongo::sbe diff --git a/src/mongo/db/exec/sbe/expressions/sbe_replace_one_expression_test.cpp b/src/mongo/db/exec/sbe/expressions/sbe_replace_one_expression_test.cpp index b483a33230e..b15bcbcf6de 100644 --- a/src/mongo/db/exec/sbe/expressions/sbe_replace_one_expression_test.cpp +++ b/src/mongo/db/exec/sbe/expressions/sbe_replace_one_expression_test.cpp @@ -250,4 +250,4 @@ TEST_F(SBEReplaceOneExprTest, ComputesNothingIfNotString) { runAndAssertNothing(compiledExpr.get()); } -} // namespace mongo::sbe
\ No newline at end of file +} // namespace mongo::sbe diff --git a/src/mongo/db/explain.idl b/src/mongo/db/explain.idl index 866fa670608..30ceee866b9 100644 --- a/src/mongo/db/explain.idl +++ b/src/mongo/db/explain.idl @@ -64,4 +64,4 @@ commands: ignore: true unstable: true # Dummy reply type as we won't use it to parse explain reply. - reply_type: OkReply
\ No newline at end of file + reply_type: OkReply diff --git a/src/mongo/db/fts/stop_words_danish.txt b/src/mongo/db/fts/stop_words_danish.txt index 55484ca598c..89cb65df06d 100644 --- a/src/mongo/db/fts/stop_words_danish.txt +++ b/src/mongo/db/fts/stop_words_danish.txt @@ -91,4 +91,4 @@ vil ville vor være -været
\ No newline at end of file +været diff --git a/src/mongo/db/fts/stop_words_dutch.txt b/src/mongo/db/fts/stop_words_dutch.txt index fd7e91e8ac1..c3162235897 100644 --- a/src/mongo/db/fts/stop_words_dutch.txt +++ b/src/mongo/db/fts/stop_words_dutch.txt @@ -98,4 +98,4 @@ zij zijn zo zonder -zou
\ No newline at end of file +zou diff --git a/src/mongo/db/fts/stop_words_english.txt b/src/mongo/db/fts/stop_words_english.txt index c38cebb926c..c691414d2fe 100644 --- a/src/mongo/db/fts/stop_words_english.txt +++ b/src/mongo/db/fts/stop_words_english.txt @@ -171,4 +171,4 @@ you've your yours yourself -yourselves
\ No newline at end of file +yourselves diff --git a/src/mongo/db/fts/stop_words_finnish.txt b/src/mongo/db/fts/stop_words_finnish.txt index 0df5f6b1ab5..45b37c0a00e 100644 --- a/src/mongo/db/fts/stop_words_finnish.txt +++ b/src/mongo/db/fts/stop_words_finnish.txt @@ -232,4 +232,4 @@ tätä vaan vai vaikka -yli
\ No newline at end of file +yli diff --git a/src/mongo/db/fts/stop_words_hungarian.txt b/src/mongo/db/fts/stop_words_hungarian.txt index 7ea2329da94..3f9caeec3b1 100644 --- a/src/mongo/db/fts/stop_words_hungarian.txt +++ b/src/mongo/db/fts/stop_words_hungarian.txt @@ -196,4 +196,4 @@ voltunk úgy új újabb -újra
\ No newline at end of file +újra diff --git a/src/mongo/db/fts/stop_words_portuguese.txt b/src/mongo/db/fts/stop_words_portuguese.txt index d23be174e87..7c2e4300d9c 100644 --- a/src/mongo/db/fts/stop_words_portuguese.txt +++ b/src/mongo/db/fts/stop_words_portuguese.txt @@ -200,4 +200,4 @@ vocês vos à às -éramos
\ No newline at end of file +éramos diff --git a/src/mongo/db/fts/stop_words_russian.txt b/src/mongo/db/fts/stop_words_russian.txt index cd97f67a3f5..92e85562681 100644 --- a/src/mongo/db/fts/stop_words_russian.txt +++ b/src/mongo/db/fts/stop_words_russian.txt @@ -156,4 +156,4 @@ этом этот эту -я
\ No newline at end of file +я diff --git a/src/mongo/db/fts/stop_words_spanish.txt b/src/mongo/db/fts/stop_words_spanish.txt index d8245ed83ba..e5ded93cd2b 100644 --- a/src/mongo/db/fts/stop_words_spanish.txt +++ b/src/mongo/db/fts/stop_words_spanish.txt @@ -305,4 +305,4 @@ y ya yo él -éramos
\ No newline at end of file +éramos diff --git a/src/mongo/db/fts/stop_words_swedish.txt b/src/mongo/db/fts/stop_words_swedish.txt index a8ef4dde7cc..705ca683496 100644 --- a/src/mongo/db/fts/stop_words_swedish.txt +++ b/src/mongo/db/fts/stop_words_swedish.txt @@ -111,4 +111,4 @@ vårt än är åt -över
\ No newline at end of file +över diff --git a/src/mongo/db/matcher/doc_validation_error.h b/src/mongo/db/matcher/doc_validation_error.h index 62d86289cd6..f85ad12c773 100644 --- a/src/mongo/db/matcher/doc_validation_error.h +++ b/src/mongo/db/matcher/doc_validation_error.h @@ -64,4 +64,4 @@ BSONObj generateError( const BSONObj& doc, int maxDocValidationErrorSize = kDefaultMaxDocValidationErrorSize, int maxConsideredValues = internalQueryMaxDocValidationErrorConsideredValues.load()); -} // namespace mongo::doc_validation_error
\ No newline at end of file +} // namespace mongo::doc_validation_error diff --git a/src/mongo/db/matcher/doc_validation_error_test.h b/src/mongo/db/matcher/doc_validation_error_test.h index 853211e4395..3248a2ae068 100644 --- a/src/mongo/db/matcher/doc_validation_error_test.h +++ b/src/mongo/db/matcher/doc_validation_error_test.h @@ -43,4 +43,4 @@ void verifyGeneratedError(const BSONObj& query, const BSONObj& document, const BSONObj& expectedError, bool shouldThrow = false); -} // namespace mongo::doc_validation_error
\ No newline at end of file +} // namespace mongo::doc_validation_error diff --git a/src/mongo/db/matcher/doc_validation_util.cpp b/src/mongo/db/matcher/doc_validation_util.cpp index f47ec302767..d2fdd19e0fc 100644 --- a/src/mongo/db/matcher/doc_validation_util.cpp +++ b/src/mongo/db/matcher/doc_validation_util.cpp @@ -70,4 +70,4 @@ unsigned int computeMaxAllowedValidationErrorDepth() { static_cast<uint32_t>(BSONDepth::kBSONDepthParameterFloor)) : BSONDepth::kBSONDepthParameterFloor; } -} // namespace mongo::doc_validation_error
\ No newline at end of file +} // namespace mongo::doc_validation_error diff --git a/src/mongo/db/matcher/doc_validation_util.h b/src/mongo/db/matcher/doc_validation_util.h index bb842c24a71..0e5852349fd 100644 --- a/src/mongo/db/matcher/doc_validation_util.h +++ b/src/mongo/db/matcher/doc_validation_util.h @@ -59,4 +59,4 @@ void annotateTreeToIgnoreForErrorDetails(const boost::intrusive_ptr<ExpressionCo * slightly less deep than the maximum allowed depth for BSONObjs. */ unsigned int computeMaxAllowedValidationErrorDepth(); -} // namespace mongo::doc_validation_error
\ No newline at end of file +} // namespace mongo::doc_validation_error diff --git a/src/mongo/db/matcher/match_expression_util.cpp b/src/mongo/db/matcher/match_expression_util.cpp index 397bfa4cda5..31a2d937477 100644 --- a/src/mongo/db/matcher/match_expression_util.cpp +++ b/src/mongo/db/matcher/match_expression_util.cpp @@ -37,4 +37,4 @@ void advanceBy(size_t numberOfElements, BSONObjIterator& iterator) { iterator.next(); } } -} // namespace mongo::match_expression_util
\ No newline at end of file +} // namespace mongo::match_expression_util diff --git a/src/mongo/db/matcher/match_expression_walker.h b/src/mongo/db/matcher/match_expression_walker.h index f3c3640ae28..ccef9cb5106 100644 --- a/src/mongo/db/matcher/match_expression_walker.h +++ b/src/mongo/db/matcher/match_expression_walker.h @@ -60,4 +60,4 @@ private: MatchExpressionConstVisitor* _inVisitor; MatchExpressionConstVisitor* _postVisitor; }; -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/ops/parsed_update_array_filters.h b/src/mongo/db/ops/parsed_update_array_filters.h index 0329de84879..2cbb249025d 100644 --- a/src/mongo/db/ops/parsed_update_array_filters.h +++ b/src/mongo/db/ops/parsed_update_array_filters.h @@ -42,4 +42,4 @@ parsedUpdateArrayFilters(const boost::intrusive_ptr<ExpressionContext>& expCtx, const std::vector<BSONObj>& rawArrayFiltersIn, const NamespaceString& nss); -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/pipeline/document_source_coll_stats.cpp b/src/mongo/db/pipeline/document_source_coll_stats.cpp index bb68c5235d6..e7c9681d880 100644 --- a/src/mongo/db/pipeline/document_source_coll_stats.cpp +++ b/src/mongo/db/pipeline/document_source_coll_stats.cpp @@ -124,4 +124,4 @@ Value DocumentSourceCollStats::serialize(boost::optional<ExplainOptions::Verbosi return Value(Document{{getSourceName(), _collStatsSpec.toBSON()}}); } -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/pipeline/document_source_coll_stats.idl b/src/mongo/db/pipeline/document_source_coll_stats.idl index 89576b7ed00..060c20d835a 100644 --- a/src/mongo/db/pipeline/document_source_coll_stats.idl +++ b/src/mongo/db/pipeline/document_source_coll_stats.idl @@ -66,4 +66,4 @@ structs: type: object validator: callback: validateObjectIsEmpty - optional: true
\ No newline at end of file + optional: true diff --git a/src/mongo/db/pipeline/document_source_parsing_validators.cpp b/src/mongo/db/pipeline/document_source_parsing_validators.cpp index f6a929ba36e..991575c2448 100644 --- a/src/mongo/db/pipeline/document_source_parsing_validators.cpp +++ b/src/mongo/db/pipeline/document_source_parsing_validators.cpp @@ -43,4 +43,4 @@ Status validateObjectIsEmpty(const BSONObj& object) { } return Status::OK(); } -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/pipeline/document_source_parsing_validators.h b/src/mongo/db/pipeline/document_source_parsing_validators.h index ea0c1b1e1f3..85b578ff9e7 100644 --- a/src/mongo/db/pipeline/document_source_parsing_validators.h +++ b/src/mongo/db/pipeline/document_source_parsing_validators.h @@ -35,4 +35,4 @@ namespace mongo { Status validateObjectIsEmpty(const BSONObj&); -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/pipeline/expression_test_api_version_test.cpp b/src/mongo/db/pipeline/expression_test_api_version_test.cpp index 5dc4b93493e..05c9156ddf0 100644 --- a/src/mongo/db/pipeline/expression_test_api_version_test.cpp +++ b/src/mongo/db/pipeline/expression_test_api_version_test.cpp @@ -120,4 +120,4 @@ TEST_F(TestApiVersion, DoesNotAcceptEmptyDocument) { 5161701); } } // namespace -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/pipeline/skip_and_limit.cpp b/src/mongo/db/pipeline/skip_and_limit.cpp index 6923699937d..e9e7e9772ce 100644 --- a/src/mongo/db/pipeline/skip_and_limit.cpp +++ b/src/mongo/db/pipeline/skip_and_limit.cpp @@ -140,4 +140,4 @@ boost::optional<long long> extractSkipForPushdown(Pipeline::SourceContainer::ite return skipSum; } -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/pipeline/skip_and_limit.h b/src/mongo/db/pipeline/skip_and_limit.h index c00c5ad110c..2a3ecec5982 100644 --- a/src/mongo/db/pipeline/skip_and_limit.h +++ b/src/mongo/db/pipeline/skip_and_limit.h @@ -100,4 +100,4 @@ boost::optional<long long> extractLimitForPushdown(Pipeline::SourceContainer::it boost::optional<long long> extractSkipForPushdown(Pipeline::SourceContainer::iterator itr, Pipeline::SourceContainer* container); -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/query/explain_verbosity.idl b/src/mongo/db/query/explain_verbosity.idl index 5b6114e1e3c..a1ddb9647fc 100644 --- a/src/mongo/db/query/explain_verbosity.idl +++ b/src/mongo/db/query/explain_verbosity.idl @@ -47,4 +47,4 @@ enums: # At this verbosity level, we generate the execution stats for each rejected plan as # well as the winning plan. String alias is "allPlansExecution". - kExecAllPlans: "allPlansExecution"
\ No newline at end of file + kExecAllPlans: "allPlansExecution" diff --git a/src/mongo/db/repl/apply_ops.idl b/src/mongo/db/repl/apply_ops.idl index 80592642e2b..89400a91c4c 100644 --- a/src/mongo/db/repl/apply_ops.idl +++ b/src/mongo/db/repl/apply_ops.idl @@ -82,4 +82,4 @@ structs: type: safeInt64 optional: true description: "The number of operations contained in this multi-oplog-entry - transaction."
\ No newline at end of file + transaction." diff --git a/src/mongo/db/repl/database_cloner_common.cpp b/src/mongo/db/repl/database_cloner_common.cpp index 68ebd7c333a..13bb4a2591b 100644 --- a/src/mongo/db/repl/database_cloner_common.cpp +++ b/src/mongo/db/repl/database_cloner_common.cpp @@ -39,4 +39,4 @@ CollectionOptions parseCollectionOptionsForDatabaseCloner(const BSONObj& obj) { } } // namespace repl -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/repl/database_cloner_common.h b/src/mongo/db/repl/database_cloner_common.h index 24f43cfb066..e7a8b6c171c 100644 --- a/src/mongo/db/repl/database_cloner_common.h +++ b/src/mongo/db/repl/database_cloner_common.h @@ -36,4 +36,4 @@ namespace repl { CollectionOptions parseCollectionOptionsForDatabaseCloner(const BSONObj& obj); } -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/repl/initial_sync_base_cloner.cpp b/src/mongo/db/repl/initial_sync_base_cloner.cpp index acc6d41d89d..41f31a6f5b8 100644 --- a/src/mongo/db/repl/initial_sync_base_cloner.cpp +++ b/src/mongo/db/repl/initial_sync_base_cloner.cpp @@ -210,4 +210,4 @@ logv2::LogComponent InitialSyncBaseCloner::getLogComponent() { } } // namespace repl -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/repl/initial_sync_base_cloner.h b/src/mongo/db/repl/initial_sync_base_cloner.h index f5eb9882725..dc6bb9f9317 100644 --- a/src/mongo/db/repl/initial_sync_base_cloner.h +++ b/src/mongo/db/repl/initial_sync_base_cloner.h @@ -105,4 +105,4 @@ private: }; } // namespace repl -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/repl/initial_sync_cloner_test_fixture.cpp b/src/mongo/db/repl/initial_sync_cloner_test_fixture.cpp index fb2c60e7378..c0c407f3bc3 100644 --- a/src/mongo/db/repl/initial_sync_cloner_test_fixture.cpp +++ b/src/mongo/db/repl/initial_sync_cloner_test_fixture.cpp @@ -58,4 +58,4 @@ void InitialSyncClonerTestFixture::setInitialSyncId() { } } // namespace repl -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/repl/initial_sync_cloner_test_fixture.h b/src/mongo/db/repl/initial_sync_cloner_test_fixture.h index f51f9204435..07730b21aa1 100644 --- a/src/mongo/db/repl/initial_sync_cloner_test_fixture.h +++ b/src/mongo/db/repl/initial_sync_cloner_test_fixture.h @@ -49,4 +49,4 @@ protected: }; } // namespace repl -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/repl/optime_and_wall_time_base.idl b/src/mongo/db/repl/optime_and_wall_time_base.idl index f9f1108fbab..f444dd07520 100644 --- a/src/mongo/db/repl/optime_and_wall_time_base.idl +++ b/src/mongo/db/repl/optime_and_wall_time_base.idl @@ -52,4 +52,4 @@ structs: wall: cpp_name: wallClockTime type: date - description: "A wallclock time with MS resolution"
\ No newline at end of file + description: "A wallclock time with MS resolution" diff --git a/src/mongo/db/repl/repl_sync_shared_data.cpp b/src/mongo/db/repl/repl_sync_shared_data.cpp index ff16323a97f..8b6ffd0964e 100644 --- a/src/mongo/db/repl/repl_sync_shared_data.cpp +++ b/src/mongo/db/repl/repl_sync_shared_data.cpp @@ -56,4 +56,4 @@ void ReplSyncSharedData::setStatusIfOK(WithLock lk, Status newStatus) { } } // namespace repl -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/repl/repl_sync_shared_data.h b/src/mongo/db/repl/repl_sync_shared_data.h index 1c9ab2e9d2e..6ffc69f4390 100644 --- a/src/mongo/db/repl/repl_sync_shared_data.h +++ b/src/mongo/db/repl/repl_sync_shared_data.h @@ -82,4 +82,4 @@ private: Status _status = Status::OK(); }; } // namespace repl -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/repl/tenant_base_cloner.cpp b/src/mongo/db/repl/tenant_base_cloner.cpp index 9ac68eddbe0..5b3249a73b9 100644 --- a/src/mongo/db/repl/tenant_base_cloner.cpp +++ b/src/mongo/db/repl/tenant_base_cloner.cpp @@ -50,4 +50,4 @@ logv2::LogComponent TenantBaseCloner::getLogComponent() { } } // namespace repl -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/repl/tenant_base_cloner.h b/src/mongo/db/repl/tenant_base_cloner.h index c5ccdba93f9..0aff903bbdd 100644 --- a/src/mongo/db/repl/tenant_base_cloner.h +++ b/src/mongo/db/repl/tenant_base_cloner.h @@ -59,4 +59,4 @@ private: }; } // namespace repl -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/repl/tenant_migration_access_blocker_server_status_section.cpp b/src/mongo/db/repl/tenant_migration_access_blocker_server_status_section.cpp index 7eefa1b21bc..98ef5d31ec8 100644 --- a/src/mongo/db/repl/tenant_migration_access_blocker_server_status_section.cpp +++ b/src/mongo/db/repl/tenant_migration_access_blocker_server_status_section.cpp @@ -54,4 +54,4 @@ public: } } tenantMigrationAccessBlockerServerStatus; } // namespace -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/repl/tenant_migration_shared_data.cpp b/src/mongo/db/repl/tenant_migration_shared_data.cpp index eae09198d1f..3faf9f5ab76 100644 --- a/src/mongo/db/repl/tenant_migration_shared_data.cpp +++ b/src/mongo/db/repl/tenant_migration_shared_data.cpp @@ -41,4 +41,4 @@ OpTime TenantMigrationSharedData::getLastVisibleOpTime(WithLock) { } // namespace repl -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/repl/tla_plus/MultiTenantMigrations/MCMultiTenantMigrations.cfg b/src/mongo/db/repl/tla_plus/MultiTenantMigrations/MCMultiTenantMigrations.cfg index 80d0358e4a0..bdf6a17c98f 100644 --- a/src/mongo/db/repl/tla_plus/MultiTenantMigrations/MCMultiTenantMigrations.cfg +++ b/src/mongo/db/repl/tla_plus/MultiTenantMigrations/MCMultiTenantMigrations.cfg @@ -57,4 +57,4 @@ SPECIFICATION Spec \* The spec can terminate without a deadlock. The liveness properties are present to ensure the \* termination states are correct. -CHECK_DEADLOCK FALSE
\ No newline at end of file +CHECK_DEADLOCK FALSE diff --git a/src/mongo/db/repl/tla_plus/RaftMongoWithRaftReconfig.tla b/src/mongo/db/repl/tla_plus/RaftMongoWithRaftReconfig.tla index 377f928d939..aacb2903a1b 100644 --- a/src/mongo/db/repl/tla_plus/RaftMongoWithRaftReconfig.tla +++ b/src/mongo/db/repl/tla_plus/RaftMongoWithRaftReconfig.tla @@ -260,4 +260,4 @@ TwoPrimariesInSameTerm == NoTwoPrimariesInSameTerm == ~TwoPrimariesInSameTerm -===============================================================================
\ No newline at end of file +=============================================================================== diff --git a/src/mongo/db/s/balancer/migration_test_fixture.cpp b/src/mongo/db/s/balancer/migration_test_fixture.cpp index 5c21d2d90f7..284c0976006 100644 --- a/src/mongo/db/s/balancer/migration_test_fixture.cpp +++ b/src/mongo/db/s/balancer/migration_test_fixture.cpp @@ -154,4 +154,4 @@ void MigrationTestFixture::checkMigrationsCollectionIsEmptyAndLocksAreUnlocked() ASSERT_EQUALS(0U, locksQueryResponse.docs.size()); } -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/s/config/configsvr_balancer_collection_status_command.cpp b/src/mongo/db/s/config/configsvr_balancer_collection_status_command.cpp index cb5ab87c3d3..f854737a4f3 100644 --- a/src/mongo/db/s/config/configsvr_balancer_collection_status_command.cpp +++ b/src/mongo/db/s/config/configsvr_balancer_collection_status_command.cpp @@ -120,4 +120,4 @@ public: } configsvrBalancerCollectionStatusCmd; } // namespace -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/s/reshard_collection_coordinator.h b/src/mongo/db/s/reshard_collection_coordinator.h index 81b47ba5b34..5ab6cd58704 100644 --- a/src/mongo/db/s/reshard_collection_coordinator.h +++ b/src/mongo/db/s/reshard_collection_coordinator.h @@ -48,4 +48,4 @@ private: const ShardsvrReshardCollection _request; const NamespaceString& _nss; }; -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/s/resharding/resharding_agg_test.cpp b/src/mongo/db/s/resharding/resharding_agg_test.cpp index e0c6ab408a0..7a4e7720bca 100644 --- a/src/mongo/db/s/resharding/resharding_agg_test.cpp +++ b/src/mongo/db/s/resharding/resharding_agg_test.cpp @@ -1527,4 +1527,4 @@ TEST_F(ReshardingAggTest, VerifyPipelineLargeTxnIncomplete) { } } // namespace -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/s/resharding/resharding_critical_section.cpp b/src/mongo/db/s/resharding/resharding_critical_section.cpp index 872c2cee9f5..5185a574353 100644 --- a/src/mongo/db/s/resharding/resharding_critical_section.cpp +++ b/src/mongo/db/s/resharding/resharding_critical_section.cpp @@ -67,4 +67,4 @@ ReshardingCriticalSection::~ReshardingCriticalSection() { CollectionShardingRuntime::get(rawOpCtx, _nss)->exitCriticalSection(rawOpCtx); } -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/s/resharding/resharding_critical_section.h b/src/mongo/db/s/resharding/resharding_critical_section.h index a1d7491f743..ca3a4eb265a 100644 --- a/src/mongo/db/s/resharding/resharding_critical_section.h +++ b/src/mongo/db/s/resharding/resharding_critical_section.h @@ -44,4 +44,4 @@ private: const NamespaceString _nss; }; -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/s/resharding/resharding_donor_recipient_common.h b/src/mongo/db/s/resharding/resharding_donor_recipient_common.h index 8930ddd3fe0..bf016473582 100644 --- a/src/mongo/db/s/resharding/resharding_donor_recipient_common.h +++ b/src/mongo/db/s/resharding/resharding_donor_recipient_common.h @@ -78,4 +78,4 @@ void processReshardingFieldsForCollection(OperationContext* opCtx, } // namespace resharding -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/s/resharding_collection_test.cpp b/src/mongo/db/s/resharding_collection_test.cpp index 4c0614868a7..964e8ca8bb9 100644 --- a/src/mongo/db/s/resharding_collection_test.cpp +++ b/src/mongo/db/s/resharding_collection_test.cpp @@ -90,4 +90,4 @@ TEST_F(ReshardingCollectionTest, TestWritesToTempReshardingCollection) { } } // namespace -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/s/shard_collection_legacy.cpp b/src/mongo/db/s/shard_collection_legacy.cpp index 5cc53985538..fa66e9623df 100644 --- a/src/mongo/db/s/shard_collection_legacy.cpp +++ b/src/mongo/db/s/shard_collection_legacy.cpp @@ -747,4 +747,4 @@ CreateCollectionResponse shardCollectionLegacy(OperationContext* opCtx, return response.value(); } -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/s/sharding_ddl_util_test.cpp b/src/mongo/db/s/sharding_ddl_util_test.cpp index ab2bb5565d6..aa26c639fe9 100644 --- a/src/mongo/db/s/sharding_ddl_util_test.cpp +++ b/src/mongo/db/s/sharding_ddl_util_test.cpp @@ -221,4 +221,4 @@ TEST_F(ShardingDDLUtilTest, ShardedRenamePreconditionTargetCollectionHasTags) { } } // namespace -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/s/shardsvr_create_collection_command.cpp b/src/mongo/db/s/shardsvr_create_collection_command.cpp index e1179cd0421..ce2a381d2f5 100644 --- a/src/mongo/db/s/shardsvr_create_collection_command.cpp +++ b/src/mongo/db/s/shardsvr_create_collection_command.cpp @@ -255,4 +255,4 @@ public: } shardsvrCreateCollectionCommand; } // namespace -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/s/shardsvr_create_collection_participant_command.cpp b/src/mongo/db/s/shardsvr_create_collection_participant_command.cpp index 243d0d84737..e4708a1ce94 100644 --- a/src/mongo/db/s/shardsvr_create_collection_participant_command.cpp +++ b/src/mongo/db/s/shardsvr_create_collection_participant_command.cpp @@ -101,4 +101,4 @@ public: } shardsvrCreateCollectionCommand; } // namespace -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/s/shardsvr_refine_collection_shard_key_command.cpp b/src/mongo/db/s/shardsvr_refine_collection_shard_key_command.cpp index f899ae1dfea..f67a70f8312 100644 --- a/src/mongo/db/s/shardsvr_refine_collection_shard_key_command.cpp +++ b/src/mongo/db/s/shardsvr_refine_collection_shard_key_command.cpp @@ -82,4 +82,4 @@ public: } shardsvrDropDatabaseCommand; } // namespace -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/s/shardsvr_reshard_collection_command.cpp b/src/mongo/db/s/shardsvr_reshard_collection_command.cpp index 04c8aa85521..21c309d925c 100644 --- a/src/mongo/db/s/shardsvr_reshard_collection_command.cpp +++ b/src/mongo/db/s/shardsvr_reshard_collection_command.cpp @@ -110,4 +110,4 @@ public: } shardsvrReshardCollectionCommand; } // namespace -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/shutdown_in_progress_quiesce_info.cpp b/src/mongo/db/shutdown_in_progress_quiesce_info.cpp index 75cd4fe7204..6753b14c770 100644 --- a/src/mongo/db/shutdown_in_progress_quiesce_info.cpp +++ b/src/mongo/db/shutdown_in_progress_quiesce_info.cpp @@ -51,4 +51,4 @@ std::shared_ptr<const ErrorExtraInfo> ShutdownInProgressQuiesceInfo::parse(const obj["remainingQuiesceTimeMillis"].safeNumberLong()); } -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/shutdown_in_progress_quiesce_info.h b/src/mongo/db/shutdown_in_progress_quiesce_info.h index 000d286230d..710c3971627 100644 --- a/src/mongo/db/shutdown_in_progress_quiesce_info.h +++ b/src/mongo/db/shutdown_in_progress_quiesce_info.h @@ -58,4 +58,4 @@ private: long long _remainingQuiesceTimeMillis = 0; }; -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/db/storage/snapshot_helper.cpp b/src/mongo/db/storage/snapshot_helper.cpp index 03f752b6e2d..355841768c2 100644 --- a/src/mongo/db/storage/snapshot_helper.cpp +++ b/src/mongo/db/storage/snapshot_helper.cpp @@ -181,4 +181,4 @@ bool collectionChangesConflictWithRead(boost::optional<Timestamp> collectionMin, return *collectionMin > readTimestamp; } } // namespace SnapshotHelper -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/executor/mock_network_fixture_test.cpp b/src/mongo/executor/mock_network_fixture_test.cpp index 86ae5122b60..6db689cfe7e 100644 --- a/src/mongo/executor/mock_network_fixture_test.cpp +++ b/src/mongo/executor/mock_network_fixture_test.cpp @@ -466,4 +466,4 @@ TEST_F(MockNetworkTest, MockFixtureSequenceTestLongerChain) { } } // namespace -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/executor/network_interface_mock_test_fixture.cpp b/src/mongo/executor/network_interface_mock_test_fixture.cpp index 0efae253dc8..c44bd190e25 100644 --- a/src/mongo/executor/network_interface_mock_test_fixture.cpp +++ b/src/mongo/executor/network_interface_mock_test_fixture.cpp @@ -61,4 +61,4 @@ void NetworkInterfaceMockTest::tearDown() { net().shutdown(); } } // namespace executor -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/executor/network_interface_mock_test_fixture.h b/src/mongo/executor/network_interface_mock_test_fixture.h index a19d2be80e4..2c127eac264 100644 --- a/src/mongo/executor/network_interface_mock_test_fixture.h +++ b/src/mongo/executor/network_interface_mock_test_fixture.h @@ -67,4 +67,4 @@ private: }; } // namespace executor -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/idl/server_parameter_test_util.h b/src/mongo/idl/server_parameter_test_util.h index a325f617bab..b064cf3ad83 100644 --- a/src/mongo/idl/server_parameter_test_util.h +++ b/src/mongo/idl/server_parameter_test_util.h @@ -82,4 +82,4 @@ private: BSONObj _oldValue; }; -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/rpc/topology_version.idl b/src/mongo/rpc/topology_version.idl index a9a732c36b3..0bc48de7c08 100644 --- a/src/mongo/rpc/topology_version.idl +++ b/src/mongo/rpc/topology_version.idl @@ -47,4 +47,4 @@ structs: type: long description: "State change counter, maintained in memory by the server. It begins at 0 when the server starts, and it is incremented whenever there is a - significant topology change."
\ No newline at end of file + significant topology change." diff --git a/src/mongo/rpc/write_concern_error.idl b/src/mongo/rpc/write_concern_error.idl index 2e604f12365..4ab1f6cc6e0 100644 --- a/src/mongo/rpc/write_concern_error.idl +++ b/src/mongo/rpc/write_concern_error.idl @@ -45,4 +45,4 @@ structs: errmsg: string errInfo: type: object - optional: true
\ No newline at end of file + optional: true diff --git a/src/mongo/s/chunk_map_test.cpp b/src/mongo/s/chunk_map_test.cpp index dacfa6013f3..a30451a9637 100644 --- a/src/mongo/s/chunk_map_test.cpp +++ b/src/mongo/s/chunk_map_test.cpp @@ -165,4 +165,4 @@ TEST_F(ChunkMapTest, TestEnumerateOverlappingChunks) { ASSERT_EQ(count, 3); } -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/s/commands/cluster_balancer_collection_status_cmd.cpp b/src/mongo/s/commands/cluster_balancer_collection_status_cmd.cpp index 2daf3a8169d..d673be266a7 100644 --- a/src/mongo/s/commands/cluster_balancer_collection_status_cmd.cpp +++ b/src/mongo/s/commands/cluster_balancer_collection_status_cmd.cpp @@ -115,4 +115,4 @@ public: } balancerCollectionStatusCmd; } // namespace -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/s/commands/cluster_rename_collection_cmd.cpp b/src/mongo/s/commands/cluster_rename_collection_cmd.cpp index ebdbdfa5044..4b6d4548489 100644 --- a/src/mongo/s/commands/cluster_rename_collection_cmd.cpp +++ b/src/mongo/s/commands/cluster_rename_collection_cmd.cpp @@ -120,4 +120,4 @@ public: } renameCollectionCmd; } // namespace -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/s/request_types/clear_jumbo_flag.idl b/src/mongo/s/request_types/clear_jumbo_flag.idl index e0d6bcb8bef..199a5f67631 100644 --- a/src/mongo/s/request_types/clear_jumbo_flag.idl +++ b/src/mongo/s/request_types/clear_jumbo_flag.idl @@ -73,4 +73,4 @@ commands: description: "The lower bound key value of the chunk." maxKey: type: object - description: "The upper bound key value of the chunk."
\ No newline at end of file + description: "The upper bound key value of the chunk." diff --git a/src/mongo/shell/kms_network.cpp b/src/mongo/shell/kms_network.cpp index 9efa4cb2929..eae8d0d987f 100644 --- a/src/mongo/shell/kms_network.cpp +++ b/src/mongo/shell/kms_network.cpp @@ -199,4 +199,4 @@ void KMSOAuthService::makeBearerTokenRequest() { Date_t::now() + Seconds(kmsResponse.getExpires_in().value_or(60)) - requestBufferTime; } -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/shell/utils_sh.js b/src/mongo/shell/utils_sh.js index cb0bf13badd..272ade772bc 100644 --- a/src/mongo/shell/utils_sh.js +++ b/src/mongo/shell/utils_sh.js @@ -851,4 +851,4 @@ function printShardingSizes(configDB) { }); print(raw); -}
\ No newline at end of file +} diff --git a/src/mongo/util/net/ocsp/ocsp_manager.cpp b/src/mongo/util/net/ocsp/ocsp_manager.cpp index a620858ac9d..1524d1da560 100644 --- a/src/mongo/util/net/ocsp/ocsp_manager.cpp +++ b/src/mongo/util/net/ocsp/ocsp_manager.cpp @@ -145,4 +145,4 @@ Future<std::vector<uint8_t>> OCSPManager::requestStatus(std::vector<uint8_t> dat }); } -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/util/net/ocsp/ocsp_manager.h b/src/mongo/util/net/ocsp/ocsp_manager.h index 2b4485eaea4..94bc48b70b3 100644 --- a/src/mongo/util/net/ocsp/ocsp_manager.h +++ b/src/mongo/util/net/ocsp/ocsp_manager.h @@ -66,4 +66,4 @@ private: std::unique_ptr<ThreadPool> _pool; }; -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/util/net/ssl_peer_info.cpp b/src/mongo/util/net/ssl_peer_info.cpp index 315fa751993..5d994f9e45c 100644 --- a/src/mongo/util/net/ssl_peer_info.cpp +++ b/src/mongo/util/net/ssl_peer_info.cpp @@ -43,4 +43,4 @@ SSLPeerInfo& SSLPeerInfo::forSession(const transport::SessionHandle& session) { const SSLPeerInfo& SSLPeerInfo::forSession(const transport::ConstSessionHandle& session) { return peerInfoForSession(session.get()); } -} // namespace mongo
\ No newline at end of file +} // namespace mongo diff --git a/src/mongo/util/net/ssl_peer_info.h b/src/mongo/util/net/ssl_peer_info.h index b336fd95e18..593d217c5c8 100644 --- a/src/mongo/util/net/ssl_peer_info.h +++ b/src/mongo/util/net/ssl_peer_info.h @@ -64,4 +64,4 @@ struct SSLPeerInfo { static SSLPeerInfo& forSession(const transport::SessionHandle& session); static const SSLPeerInfo& forSession(const transport::ConstSessionHandle& session); }; -} // namespace mongo
\ No newline at end of file +} // namespace mongo |