From b62f85ab6a378512a9c5e84f899efc157ffc322d Mon Sep 17 00:00:00 2001 From: Sophie Alpert Date: Fri, 16 Feb 2018 18:24:55 -0800 Subject: [PATCH] Update license headers for MIT license Summary: Includes React Native and its dependencies Fresco, Metro, and Yoga. Excludes samples/examples/docs. find: ^(?:( *)|( *(?:[\*~#]|::))( )? *)?Copyright (?:\(c\) )?(\d{4})\b.+Facebook[\s\S]+?BSD[\s\S]+?(?:this source tree|the same directory)\.$ replace: $1$2$3Copyright (c) $4-present, Facebook, Inc.\n$2\n$1$2$3This source code is licensed under the MIT license found in the\n$1$2$3LICENSE file in the root directory of this source tree. Reviewed By: TheSavior, yungsters Differential Revision: D7007050 fbshipit-source-id: 37dd6bf0ffec0923bfc99c260bb330683f35553e --- CameraRoll.js | 6 ++---- CameraRollManager.java | 6 ++---- RCTAssetsLibraryRequestHandler.h | 6 ++---- RCTAssetsLibraryRequestHandler.m | 6 ++---- RCTCameraRollManager.h | 6 ++---- RCTCameraRollManager.m | 6 ++---- 6 files changed, 12 insertions(+), 24 deletions(-) diff --git a/CameraRoll.js b/CameraRoll.js index 91fba6d..0c91dc7 100644 --- a/CameraRoll.js +++ b/CameraRoll.js @@ -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. * * @providesModule CameraRoll * @flow diff --git a/CameraRollManager.java b/CameraRollManager.java index c10c46d..eb33226 100644 --- a/CameraRollManager.java +++ b/CameraRollManager.java @@ -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. */ package com.facebook.react.modules.camera; diff --git a/RCTAssetsLibraryRequestHandler.h b/RCTAssetsLibraryRequestHandler.h index 405ba28..8189bb5 100644 --- a/RCTAssetsLibraryRequestHandler.h +++ b/RCTAssetsLibraryRequestHandler.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/RCTAssetsLibraryRequestHandler.m b/RCTAssetsLibraryRequestHandler.m index 30a3baf..e9637d7 100644 --- a/RCTAssetsLibraryRequestHandler.m +++ b/RCTAssetsLibraryRequestHandler.m @@ -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 "RCTAssetsLibraryRequestHandler.h" diff --git a/RCTCameraRollManager.h b/RCTCameraRollManager.h index f2bf18c..b8b2c7d 100644 --- a/RCTCameraRollManager.h +++ b/RCTCameraRollManager.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/RCTCameraRollManager.m b/RCTCameraRollManager.m index 72e128d..b5d9a85 100644 --- a/RCTCameraRollManager.m +++ b/RCTCameraRollManager.m @@ -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 "RCTCameraRollManager.h"