From bfa62d4bfb5cecc5b7765d89ee62c2e31b58b313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ramos?= Date: Thu, 16 Aug 2018 18:34:52 -0700 Subject: [PATCH] Fix old license that snuck into repo (#20702) Summary: Quick trivial PR to add back a necessary header. Fixes CI as well. Pull Request resolved: https://github.com/facebook/react-native/pull/20702 Differential Revision: D9374430 Pulled By: hramos fbshipit-source-id: dba0f1d4fc80e39242d8c3e6d1e0007492d2860d --- React/Views/RCTWKWebView.h | 6 ++---- React/Views/RCTWKWebView.m | 7 +++++++ React/Views/RCTWKWebViewManager.h | 7 ++++++- React/Views/RCTWKWebViewManager.m | 7 +++++++ 4 files changed, 22 insertions(+), 5 deletions(-) diff --git a/React/Views/RCTWKWebView.h b/React/Views/RCTWKWebView.h index e70a1cca1..01b1f5e52 100644 --- a/React/Views/RCTWKWebView.h +++ b/React/Views/RCTWKWebView.h @@ -1,10 +1,8 @@ /** * Copyright (c) 2015-present, Facebook, Inc. - * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * 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/React/Views/RCTWKWebView.m b/React/Views/RCTWKWebView.m index 02a66c1cc..16dc43a79 100644 --- a/React/Views/RCTWKWebView.m +++ b/React/Views/RCTWKWebView.m @@ -1,3 +1,10 @@ +/** + * Copyright (c) 2015-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + #import "RCTWKWebView.h" #import #import "RCTAutoInsetsProtocol.h" diff --git a/React/Views/RCTWKWebViewManager.h b/React/Views/RCTWKWebViewManager.h index 9099e8cf3..81145bea9 100644 --- a/React/Views/RCTWKWebViewManager.h +++ b/React/Views/RCTWKWebViewManager.h @@ -1,4 +1,9 @@ -// Copyright 2004-present Facebook. All Rights Reserved. +/** + * Copyright (c) 2015-present, Facebook, Inc. + * + * 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/React/Views/RCTWKWebViewManager.m b/React/Views/RCTWKWebViewManager.m index 31e2655e1..cd56b66b0 100644 --- a/React/Views/RCTWKWebViewManager.m +++ b/React/Views/RCTWKWebViewManager.m @@ -1,3 +1,10 @@ +/** + * Copyright (c) 2015-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + #import "RCTWKWebViewManager.h" #import "RCTUIManager.h"