Skip to content

Commit

Permalink
Tidy up license headers [3/n]
Browse files Browse the repository at this point in the history
Summary: Changelog: [General] [Fixed] - License header cleanup

Reviewed By: yungsters

Differential Revision: D17952693

fbshipit-source-id: 8fcb8e58a2e04e7a3169f4d525bffc00835768e6
  • Loading branch information
zertosh authored and facebook-github-bot committed Oct 16, 2019
1 parent 3b31e69 commit aee88b6
Show file tree
Hide file tree
Showing 218 changed files with 1,078 additions and 376 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#!/bin/bash
#
# 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.
#

# for buck gen
mount -o remount,exec /dev/shm
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#!/bin/bash
#
# 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.
#

# set default environment variables
UNIT_TESTS_BUILD_THREADS="${UNIT_TESTS_BUILD_THREADS:-1}"
Expand Down
2 changes: 0 additions & 2 deletions .circleci/Dockerfiles/scripts/run-ci-e2e-tests.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#!/bin/bash
#
# 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.
#

set -ex

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#!/bin/bash
#
# 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.
#

# shellcheck disable=SC1117
# Python script to run instrumentation tests, copied from https://github.com/circleci/circle-dummy-android
Expand Down
1 change: 0 additions & 1 deletion IntegrationTests/websocket_integration_test_server.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env node

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
Expand Down
1 change: 1 addition & 0 deletions Libraries/Animated/src/nodes/AnimatedInterpolation.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @flow
* @format
*/

/* eslint no-bitwise: 0 */

'use strict';
Expand Down
1 change: 1 addition & 0 deletions Libraries/Blob/__mocks__/BlobModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @flow strict
* @format
*/

const BlobModule = {
createFromParts() {},
release() {},
Expand Down
1 change: 1 addition & 0 deletions Libraries/Blob/__mocks__/FileReaderModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @flow strict
* @format
*/

const FileReaderModule = {
async readAsText(): Promise<string> {
return '';
Expand Down
1 change: 0 additions & 1 deletion Libraries/CameraRoll/RCTImagePickerManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

#import <React/RCTBridgeModule.h>
Expand Down
1 change: 0 additions & 1 deletion Libraries/CameraRoll/RCTImagePickerManager.mm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

#import "RCTImagePickerManager.h"
Expand Down
7 changes: 6 additions & 1 deletion Libraries/FBLazyVector/FBLazyVector/FBLazyIterator.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
1 change: 0 additions & 1 deletion Libraries/Image/RCTImageBlurUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

#import <Accelerate/Accelerate.h>
Expand Down
1 change: 0 additions & 1 deletion Libraries/Image/RCTImageUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

#import <UIKit/UIKit.h>
Expand Down
1 change: 0 additions & 1 deletion Libraries/Lists/__tests__/FillRateHelper-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
* @format
* @emails oncall+react_native
*/
Expand Down
1 change: 0 additions & 1 deletion Libraries/Lists/__tests__/FlatList-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
* @format
* @emails oncall+react_native
*/
Expand Down
1 change: 0 additions & 1 deletion Libraries/Lists/__tests__/SectionList-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
* @format
* @emails oncall+react_native
*/
Expand Down
1 change: 0 additions & 1 deletion Libraries/Lists/__tests__/ViewabilityHelper-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
* @format
* @emails oncall+react_native
*/
Expand Down
1 change: 0 additions & 1 deletion Libraries/Lists/__tests__/VirtualizeUtils-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
* @format
* @emails oncall+react_native
*/
Expand Down
1 change: 0 additions & 1 deletion Libraries/Lists/__tests__/VirtualizedList-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
* @format
* @emails oncall+react_native
*/
Expand Down
1 change: 0 additions & 1 deletion Libraries/Lists/__tests__/VirtualizedSectionList-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
* @format
* @emails oncall+react_native
*/
Expand Down
10 changes: 6 additions & 4 deletions Libraries/Sample/Sample.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// 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.
/*
* 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 <React/RCTBridgeModule.h>

Expand Down
10 changes: 6 additions & 4 deletions Libraries/Sample/Sample.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// 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.
/*
* 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 "Sample.h"

Expand Down
1 change: 1 addition & 0 deletions Libraries/Utilities/codegenNativeComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @format
* @flow
*/

// TODO: move this file to shims/ReactNative (requires React update and sync)

'use strict';
Expand Down
10 changes: 6 additions & 4 deletions Libraries/Wrapper/RCTWrapper.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// 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.
/*
* 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 <UIKit/UIKit.h>

Expand Down
10 changes: 6 additions & 4 deletions Libraries/Wrapper/RCTWrapperShadowView.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// 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.
/*
* 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 <UIKit/UIKit.h>

Expand Down
10 changes: 6 additions & 4 deletions Libraries/Wrapper/RCTWrapperShadowView.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// 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.
/*
* 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 "RCTWrapperShadowView.h"

Expand Down
10 changes: 6 additions & 4 deletions Libraries/Wrapper/RCTWrapperView.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// 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.
/*
* 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 <UIKit/UIKit.h>

Expand Down
10 changes: 6 additions & 4 deletions Libraries/Wrapper/RCTWrapperView.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// 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.
/*
* 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 "RCTWrapperView.h"

Expand Down
10 changes: 6 additions & 4 deletions Libraries/Wrapper/RCTWrapperViewControllerHostingView.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// 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.
/*
* 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 <UIKit/UIKit.h>

Expand Down
10 changes: 6 additions & 4 deletions Libraries/Wrapper/RCTWrapperViewControllerHostingView.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// 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.
/*
* 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 "RCTWrapperViewControllerHostingView.h"

Expand Down
10 changes: 6 additions & 4 deletions Libraries/Wrapper/RCTWrapperViewManager.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// 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.
/*
* 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 <React/RCTViewManager.h>

Expand Down
10 changes: 6 additions & 4 deletions Libraries/Wrapper/RCTWrapperViewManager.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// 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.
/*
* 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 "RCTWrapperViewManager.h"

Expand Down
1 change: 0 additions & 1 deletion RNTester/RCTTest/FBSnapshotTestCase/FBSnapshotTestCase.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

#import <QuartzCore/QuartzCore.h>
Expand Down
1 change: 0 additions & 1 deletion RNTester/RCTTest/FBSnapshotTestCase/FBSnapshotTestCase.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

#import "FBSnapshotTestCase.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

#import <Foundation/Foundation.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

#import "FBSnapshotTestController.h"
Expand Down
3 changes: 2 additions & 1 deletion RNTester/android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/**
/*
* 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.
*/

plugins {
id("com.android.application")
}
Expand Down
10 changes: 6 additions & 4 deletions React/CoreModules/RCTImageStoreManager.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// 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.
/*
* 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 <UIKit/UIKit.h>

Expand Down
Loading

0 comments on commit aee88b6

Please sign in to comment.