From 1a635c6adede09bb0226383548f35e92a1656af4 Mon Sep 17 00:00:00 2001 From: Orta Therox Date: Tue, 19 Mar 2019 08:47:36 -0700 Subject: [PATCH] Update the license for RCTWrapperExample (#24037) Summary: The copyright headers in the Wrapper example referenced a license file that doesn't exist anymore. This PR updates the copyright header to match other example files in the repo Fixes https://github.com/facebook/react-native/issues/23215 [General] [Changed] Updated the license of RCTWrapperExample to match the rest of the Examples Pull Request resolved: https://github.com/facebook/react-native/pull/24037 Differential Revision: D14521327 Pulled By: cpojer fbshipit-source-id: 983741d4d93178cd90b532ad5f8ff0717670aff4 --- Libraries/Wrapper/Example/RCTWrapperExampleView.h | 11 +++++++---- Libraries/Wrapper/Example/RCTWrapperExampleView.m | 11 +++++++---- .../Wrapper/Example/RCTWrapperExampleViewController.h | 11 +++++++---- .../Wrapper/Example/RCTWrapperExampleViewController.m | 11 +++++++---- .../Example/RCTWrapperReactRootViewController.h | 11 +++++++---- .../Example/RCTWrapperReactRootViewController.m | 11 +++++++---- .../Wrapper/Example/RCTWrapperReactRootViewManager.h | 11 +++++++---- .../Wrapper/Example/RCTWrapperReactRootViewManager.m | 11 +++++++---- 8 files changed, 56 insertions(+), 32 deletions(-) diff --git a/Libraries/Wrapper/Example/RCTWrapperExampleView.h b/Libraries/Wrapper/Example/RCTWrapperExampleView.h index ece0fef7d7158d..ff0e5fc9417acf 100644 --- a/Libraries/Wrapper/Example/RCTWrapperExampleView.h +++ b/Libraries/Wrapper/Example/RCTWrapperExampleView.h @@ -1,7 +1,10 @@ -// Copyright (c) Facebook, Inc. and its affiliates. -// -// This source code is licensed under the license found in the -// LICENSE-examples file in the root directory of this source tree. +/** + * 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. + * + */ #import diff --git a/Libraries/Wrapper/Example/RCTWrapperExampleView.m b/Libraries/Wrapper/Example/RCTWrapperExampleView.m index 64fcdac02f177b..d4898910ddd227 100644 --- a/Libraries/Wrapper/Example/RCTWrapperExampleView.m +++ b/Libraries/Wrapper/Example/RCTWrapperExampleView.m @@ -1,7 +1,10 @@ -// Copyright (c) Facebook, Inc. and its affiliates. -// -// This source code is licensed under the license found in the -// LICENSE-examples file in the root directory of this source tree. +/** + * 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. + * + */ #import "RCTWrapperExampleView.h" diff --git a/Libraries/Wrapper/Example/RCTWrapperExampleViewController.h b/Libraries/Wrapper/Example/RCTWrapperExampleViewController.h index 79ade8778484be..2c0d54d015ee0a 100644 --- a/Libraries/Wrapper/Example/RCTWrapperExampleViewController.h +++ b/Libraries/Wrapper/Example/RCTWrapperExampleViewController.h @@ -1,7 +1,10 @@ -// Copyright (c) Facebook, Inc. and its affiliates. -// -// This source code is licensed under the license found in the -// LICENSE-examples file in the root directory of this source tree. +/** + * 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. + * + */ #import diff --git a/Libraries/Wrapper/Example/RCTWrapperExampleViewController.m b/Libraries/Wrapper/Example/RCTWrapperExampleViewController.m index 756dcfcbbee13d..3b01650796a996 100644 --- a/Libraries/Wrapper/Example/RCTWrapperExampleViewController.m +++ b/Libraries/Wrapper/Example/RCTWrapperExampleViewController.m @@ -1,7 +1,10 @@ -// Copyright (c) Facebook, Inc. and its affiliates. -// -// This source code is licensed under the license found in the -// LICENSE-examples file in the root directory of this source tree. +/** + * 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. + * + */ #import "RCTWrapperExampleViewController.h" diff --git a/Libraries/Wrapper/Example/RCTWrapperReactRootViewController.h b/Libraries/Wrapper/Example/RCTWrapperReactRootViewController.h index f22cebabe1eccb..0807cb5b1714f3 100644 --- a/Libraries/Wrapper/Example/RCTWrapperReactRootViewController.h +++ b/Libraries/Wrapper/Example/RCTWrapperReactRootViewController.h @@ -1,7 +1,10 @@ -// Copyright (c) Facebook, Inc. and its affiliates. -// -// This source code is licensed under the license found in the -// LICENSE-examples file in the root directory of this source tree. +/** + * 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. + * + */ #import diff --git a/Libraries/Wrapper/Example/RCTWrapperReactRootViewController.m b/Libraries/Wrapper/Example/RCTWrapperReactRootViewController.m index dda3592c27dee3..fc8c537bd2fc4e 100644 --- a/Libraries/Wrapper/Example/RCTWrapperReactRootViewController.m +++ b/Libraries/Wrapper/Example/RCTWrapperReactRootViewController.m @@ -1,7 +1,10 @@ -// Copyright (c) Facebook, Inc. and its affiliates. -// -// This source code is licensed under the license found in the -// LICENSE-examples file in the root directory of this source tree. +/** + * 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. + * + */ #import "RCTWrapperReactRootViewController.h" diff --git a/Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.h b/Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.h index ba0cff256e3ba9..d9dcfbb77c5c83 100644 --- a/Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.h +++ b/Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.h @@ -1,7 +1,10 @@ -// Copyright (c) Facebook, Inc. and its affiliates. -// -// This source code is licensed under the license found in the -// LICENSE-examples file in the root directory of this source tree. +/** + * 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. + * + */ #import diff --git a/Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.m b/Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.m index a7e90759a85e3e..7ce87c7c4a6e63 100644 --- a/Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.m +++ b/Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.m @@ -1,7 +1,10 @@ -// Copyright (c) Facebook, Inc. and its affiliates. -// -// This source code is licensed under the license found in the -// LICENSE-examples file in the root directory of this source tree. +/** + * 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. + * + */ #import "RCTWrapperReactRootViewManager.h"