Skip to content

Commit 4f883bd

Browse files
hramosfacebook-github-bot
authored andcommitted
Restore copyright header
Summary: Restoring the copyright header on some files, in order to fix an internal lint failure that is raised whenever these files are edited on open source. Closes #17912 Differential Revision: D6938189 Pulled By: hramos fbshipit-source-id: 6447d8ad6d7ecce0ef5f1821f63e44957bbf6d15
1 parent 2ef9b7f commit 4f883bd

File tree

100 files changed

+596
-38
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+596
-38
lines changed

local-cli/link/__tests__/android/applyPatch.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/android/isInstalled.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/android/makeBuildPatch.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/android/makeImportPatch.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/android/makePackagePatch.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/android/makeSettingsPatch.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/android/makeStringsPatch.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/getDependencyConfig.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/getProjectDependencies.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/groupFilesByType.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/addFileToProject.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/addProjectToLibraries.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/addSharedLibraries.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/createGroup.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/getBuildProperty.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/getGroup.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/getHeaderSearchPath.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/getHeadersInFolder.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/getPlist.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/getPlistPath.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/getProducts.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/getTargets.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/hasLibraryImported.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/isInstalled.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/mapHeaderSearchPaths.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/removeProjectFromLibraries.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/removeProjectFromProject.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/removeSharedLibrary.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/ios/writePlist.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/link.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/pods/findLineToAddPod.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/pods/findMarkedLinesInPodfile.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/pods/findPodTargetLine.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/pods/isInstalled.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/pods/removePodEntry.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/__tests__/promiseWaterfall.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/android/copyAssets.js

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/**
2+
* Copyright (c) 2015-present, Facebook, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree. An additional grant
7+
* of patent rights can be found in the PATENTS file in the same directory.
8+
*/
9+
110
const fs = require('fs-extra');
211
const path = require('path');
312
const groupFilesByType = require('../groupFilesByType');

local-cli/link/android/fs.js

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/**
2+
* Copyright (c) 2015-present, Facebook, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree. An additional grant
7+
* of patent rights can be found in the PATENTS file in the same directory.
8+
*/
9+
110
const fs = require('fs-extra');
211

312
exports.readFile = (file) =>

local-cli/link/android/isInstalled.js

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/**
2+
* Copyright (c) 2015-present, Facebook, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree. An additional grant
7+
* of patent rights can be found in the PATENTS file in the same directory.
8+
*/
9+
110
const fs = require('fs');
211
const makeBuildPatch = require('./patches/makeBuildPatch');
312

local-cli/link/android/patches/applyParams.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2013-present, Facebook, Inc.
2+
* Copyright (c) 2015-present, Facebook, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the BSD-style license found in the

local-cli/link/android/patches/applyPatch.js

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/**
2+
* Copyright (c) 2015-present, Facebook, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree. An additional grant
7+
* of patent rights can be found in the PATENTS file in the same directory.
8+
*/
9+
110
const fs = require('fs');
211

312
module.exports = function applyPatch(file, patch) {

local-cli/link/android/patches/makeBuildPatch.js

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/**
2+
* Copyright (c) 2015-present, Facebook, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree. An additional grant
7+
* of patent rights can be found in the PATENTS file in the same directory.
8+
*/
9+
110
module.exports = function makeBuildPatch(name) {
211
const installPattern = new RegExp(
312
`\\s{4}(compile)(\\(|\\s)(project)\\(\\\':${name}\\\'\\)(\\)|\\s)`

local-cli/link/android/patches/makeImportPatch.js

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/**
2+
* Copyright (c) 2015-present, Facebook, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree. An additional grant
7+
* of patent rights can be found in the PATENTS file in the same directory.
8+
*/
9+
110
module.exports = function makeImportPatch(packageImportPath) {
211
return {
312
pattern: 'import com.facebook.react.ReactApplication;',

local-cli/link/android/patches/makePackagePatch.js

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/**
2+
* Copyright (c) 2015-present, Facebook, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree. An additional grant
7+
* of patent rights can be found in the PATENTS file in the same directory.
8+
*/
9+
110
const applyParams = require('./applyParams');
211

312
module.exports = function makePackagePatch(packageInstance, params, prefix) {

local-cli/link/android/patches/makeSettingsPatch.js

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/**
2+
* Copyright (c) 2015-present, Facebook, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree. An additional grant
7+
* of patent rights can be found in the PATENTS file in the same directory.
8+
*/
9+
110
const path = require('path');
211
const isWin = process.platform === 'win32';
312

local-cli/link/android/patches/makeStringsPatch.js

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/**
2+
* Copyright (c) 2015-present, Facebook, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree. An additional grant
7+
* of patent rights can be found in the PATENTS file in the same directory.
8+
*/
9+
110
const toCamelCase = require('lodash').camelCase;
211

312
module.exports = function makeStringsPatch(params, prefix) {

local-cli/link/android/patches/revokePatch.js

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/**
2+
* Copyright (c) 2015-present, Facebook, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree. An additional grant
7+
* of patent rights can be found in the PATENTS file in the same directory.
8+
*/
9+
110
const fs = require('fs');
211

312
module.exports = function revokePatch(file, patch) {

0 commit comments

Comments
 (0)