From 9f0b80b1cf84160d2eef0d8b084abb7305e84bba Mon Sep 17 00:00:00 2001 From: Riley Dulin Date: Mon, 18 Nov 2019 19:32:22 -0800 Subject: [PATCH] Fix licenses in the inspector Summary: Lint all files in the inspector and apply auto-fixes for licenses. Changelog: [Internal] Reviewed By: mhorowitz Differential Revision: D18210914 fbshipit-source-id: 91c45d4b02a04e99dd32cf0be8771e327fe03660 --- ReactCommon/hermes/inspector/detail/CallbackOStream.cpp | 7 ++++++- ReactCommon/hermes/inspector/detail/CallbackOStream.h | 7 ++++++- .../hermes/inspector/detail/tests/CallbackOStreamTests.cpp | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/ReactCommon/hermes/inspector/detail/CallbackOStream.cpp b/ReactCommon/hermes/inspector/detail/CallbackOStream.cpp index 9057f527f1d..ed0c5b7cffa 100644 --- a/ReactCommon/hermes/inspector/detail/CallbackOStream.cpp +++ b/ReactCommon/hermes/inspector/detail/CallbackOStream.cpp @@ -1,4 +1,9 @@ -// Copyright 2004-present Facebook. All Rights Reserved. +/* + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ #include "CallbackOStream.h" diff --git a/ReactCommon/hermes/inspector/detail/CallbackOStream.h b/ReactCommon/hermes/inspector/detail/CallbackOStream.h index 255f687450d..5085743c862 100644 --- a/ReactCommon/hermes/inspector/detail/CallbackOStream.h +++ b/ReactCommon/hermes/inspector/detail/CallbackOStream.h @@ -1,4 +1,9 @@ -// Copyright 2004-present Facebook. All Rights Reserved. +/* + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ #pragma once diff --git a/ReactCommon/hermes/inspector/detail/tests/CallbackOStreamTests.cpp b/ReactCommon/hermes/inspector/detail/tests/CallbackOStreamTests.cpp index e93be0f3571..03f0aadc919 100644 --- a/ReactCommon/hermes/inspector/detail/tests/CallbackOStreamTests.cpp +++ b/ReactCommon/hermes/inspector/detail/tests/CallbackOStreamTests.cpp @@ -1,4 +1,9 @@ -// Copyright 2004-present Facebook. All Rights Reserved. +/* + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ #include