diff options
author | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2018-11-05 19:03:16 -0500 |
---|---|---|
committer | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2018-11-05 19:03:16 -0500 |
commit | bbaca57b62a510f0f8711d2a3224d0751e9cf786 (patch) | |
tree | 3b3fad01ab9df2435e6de7bba48e68caece28192 /src/mongo/logger | |
parent | cb794ccb3a3e8d3652ccb0b2be7e9a47ecf92071 (diff) | |
download | mongo-bbaca57b62a510f0f8711d2a3224d0751e9cf786.tar.gz |
SERVER-37678 Extend cpplint's CheckForCopyright() to check for SSPL.
Diffstat (limited to 'src/mongo/logger')
-rw-r--r-- | src/mongo/logger/console_test.cpp | 27 | ||||
-rw-r--r-- | src/mongo/logger/redaction_test.cpp | 27 |
2 files changed, 52 insertions, 2 deletions
diff --git a/src/mongo/logger/console_test.cpp b/src/mongo/logger/console_test.cpp index 592d632f927..72c4f0370a7 100644 --- a/src/mongo/logger/console_test.cpp +++ b/src/mongo/logger/console_test.cpp @@ -1,5 +1,30 @@ /** - * Copyright (C) 2012 10gen Inc. + * Copyright (C) 2018-present MongoDB, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the Server Side Public License, version 1, + * as published by MongoDB, Inc. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * Server Side Public License for more details. + * + * You should have received a copy of the Server Side Public License + * along with this program. If not, see + * <http://www.mongodb.com/licensing/server-side-public-license>. + * + * As a special exception, the copyright holders give permission to link the + * code of portions of this program with the OpenSSL library under certain + * conditions as described in each individual source file and distribute + * linked combinations including the program with the OpenSSL library. You + * must comply with the Server Side Public License in all respects for + * all of the code used other than as permitted herein. If you modify file(s) + * with this exception, you may extend this exception to your version of the + * file(s), but you are not obligated to do so. If you do not wish to do so, + * delete this exception statement from your version. If you delete this + * exception statement from all source files in the program, then also delete + * it in the license file. */ /** diff --git a/src/mongo/logger/redaction_test.cpp b/src/mongo/logger/redaction_test.cpp index 7674d9e449b..bd50e80d053 100644 --- a/src/mongo/logger/redaction_test.cpp +++ b/src/mongo/logger/redaction_test.cpp @@ -1,5 +1,30 @@ /** - * Copyright (C) 2015 MongoDB Inc. + * Copyright (C) 2018-present MongoDB, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the Server Side Public License, version 1, + * as published by MongoDB, Inc. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * Server Side Public License for more details. + * + * You should have received a copy of the Server Side Public License + * along with this program. If not, see + * <http://www.mongodb.com/licensing/server-side-public-license>. + * + * As a special exception, the copyright holders give permission to link the + * code of portions of this program with the OpenSSL library under certain + * conditions as described in each individual source file and distribute + * linked combinations including the program with the OpenSSL library. You + * must comply with the Server Side Public License in all respects for + * all of the code used other than as permitted herein. If you modify file(s) + * with this exception, you may extend this exception to your version of the + * file(s), but you are not obligated to do so. If you do not wish to do so, + * delete this exception statement from your version. If you delete this + * exception statement from all source files in the program, then also delete + * it in the license file. */ #define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault |