From 47fb38745525ffd63ad7df44658eaece755aec4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ramos?= Date: Fri, 19 Oct 2018 11:05:11 -0700 Subject: [PATCH] Update copyright headers Summary: Use MIT License copyright headers in JSI source code. Reviewed By: axe-fb Differential Revision: D10454031 fbshipit-source-id: d584073bb885fb7d977df1a45a6666ef6f52dcd6 --- Libraries/vendor/core/guid.js.flow | 5 ++++- .../src/main/java/com/facebook/react/jscexecutor/OnLoad.cpp | 5 ++++- ReactCommon/jsi/JSCRuntime.cpp | 5 ++++- ReactCommon/jsi/JSCRuntime.h | 5 ++++- ReactCommon/jsi/JSIDynamic.cpp | 5 ++++- ReactCommon/jsi/JSIDynamic.h | 5 ++++- ReactCommon/jsi/instrumentation.h | 5 ++++- ReactCommon/jsi/jsi-inl.h | 5 ++++- ReactCommon/jsi/jsi.cpp | 5 ++++- ReactCommon/jsi/jsi.h | 5 ++++- ReactCommon/jsiexecutor/jsireact/JSIExecutor.cpp | 5 ++++- ReactCommon/jsiexecutor/jsireact/JSIExecutor.h | 5 ++++- ReactCommon/jsiexecutor/jsireact/JSINativeModules.cpp | 5 ++++- ReactCommon/jsiexecutor/jsireact/JSINativeModules.h | 5 ++++- 14 files changed, 56 insertions(+), 14 deletions(-) diff --git a/Libraries/vendor/core/guid.js.flow b/Libraries/vendor/core/guid.js.flow index e41d259281a..3f404018469 100644 --- a/Libraries/vendor/core/guid.js.flow +++ b/Libraries/vendor/core/guid.js.flow @@ -1,5 +1,8 @@ /** - * 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. * * @flow strict * @format diff --git a/ReactAndroid/src/main/java/com/facebook/react/jscexecutor/OnLoad.cpp b/ReactAndroid/src/main/java/com/facebook/react/jscexecutor/OnLoad.cpp index c6f185aacbd..71e62afe0f0 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/jscexecutor/OnLoad.cpp +++ b/ReactAndroid/src/main/java/com/facebook/react/jscexecutor/OnLoad.cpp @@ -1,4 +1,7 @@ -// 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 #include diff --git a/ReactCommon/jsi/JSCRuntime.cpp b/ReactCommon/jsi/JSCRuntime.cpp index f9a5e0b8cb6..56646a925b7 100644 --- a/ReactCommon/jsi/JSCRuntime.cpp +++ b/ReactCommon/jsi/JSCRuntime.cpp @@ -1,4 +1,7 @@ -// 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 "JSCRuntime.h" diff --git a/ReactCommon/jsi/JSCRuntime.h b/ReactCommon/jsi/JSCRuntime.h index d3ba65ac536..f8329896280 100644 --- a/ReactCommon/jsi/JSCRuntime.h +++ b/ReactCommon/jsi/JSCRuntime.h @@ -1,4 +1,7 @@ -// 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/jsi/JSIDynamic.cpp b/ReactCommon/jsi/JSIDynamic.cpp index 938f362bb04..eab0b4acd7c 100644 --- a/ReactCommon/jsi/JSIDynamic.cpp +++ b/ReactCommon/jsi/JSIDynamic.cpp @@ -1,4 +1,7 @@ -// 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 "JSIDynamic.h" diff --git a/ReactCommon/jsi/JSIDynamic.h b/ReactCommon/jsi/JSIDynamic.h index 0daf273dcd3..b6f7bee69ca 100644 --- a/ReactCommon/jsi/JSIDynamic.h +++ b/ReactCommon/jsi/JSIDynamic.h @@ -1,4 +1,7 @@ -// 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/jsi/instrumentation.h b/ReactCommon/jsi/instrumentation.h index e35ef1dbf6b..188af4a3717 100644 --- a/ReactCommon/jsi/instrumentation.h +++ b/ReactCommon/jsi/instrumentation.h @@ -1,4 +1,7 @@ -// 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/jsi/jsi-inl.h b/ReactCommon/jsi/jsi-inl.h index 155a840ceef..58c7ea442cc 100644 --- a/ReactCommon/jsi/jsi-inl.h +++ b/ReactCommon/jsi/jsi-inl.h @@ -1,4 +1,7 @@ -// 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/jsi/jsi.cpp b/ReactCommon/jsi/jsi.cpp index 5709d5ca915..a7ddd277a6e 100644 --- a/ReactCommon/jsi/jsi.cpp +++ b/ReactCommon/jsi/jsi.cpp @@ -1,4 +1,7 @@ -// 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 #include diff --git a/ReactCommon/jsi/jsi.h b/ReactCommon/jsi/jsi.h index b1b26ff6a34..de25934ec0a 100644 --- a/ReactCommon/jsi/jsi.h +++ b/ReactCommon/jsi/jsi.h @@ -1,4 +1,7 @@ -// 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/jsiexecutor/jsireact/JSIExecutor.cpp b/ReactCommon/jsiexecutor/jsireact/JSIExecutor.cpp index f243d8d7e32..1178b478589 100644 --- a/ReactCommon/jsiexecutor/jsireact/JSIExecutor.cpp +++ b/ReactCommon/jsiexecutor/jsireact/JSIExecutor.cpp @@ -1,4 +1,7 @@ -// 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 "jsireact/JSIExecutor.h" diff --git a/ReactCommon/jsiexecutor/jsireact/JSIExecutor.h b/ReactCommon/jsiexecutor/jsireact/JSIExecutor.h index 51c1d86b889..af9d103ddef 100644 --- a/ReactCommon/jsiexecutor/jsireact/JSIExecutor.h +++ b/ReactCommon/jsiexecutor/jsireact/JSIExecutor.h @@ -1,4 +1,7 @@ -// 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/jsiexecutor/jsireact/JSINativeModules.cpp b/ReactCommon/jsiexecutor/jsireact/JSINativeModules.cpp index 7a5e0673ceb..952db90c3b0 100644 --- a/ReactCommon/jsiexecutor/jsireact/JSINativeModules.cpp +++ b/ReactCommon/jsiexecutor/jsireact/JSINativeModules.cpp @@ -1,4 +1,7 @@ -// 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 "jsireact/JSINativeModules.h" diff --git a/ReactCommon/jsiexecutor/jsireact/JSINativeModules.h b/ReactCommon/jsiexecutor/jsireact/JSINativeModules.h index 6b7ff731a09..0f687987258 100644 --- a/ReactCommon/jsiexecutor/jsireact/JSINativeModules.h +++ b/ReactCommon/jsiexecutor/jsireact/JSINativeModules.h @@ -1,4 +1,7 @@ -// 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