Skip to content

Commit

Permalink
Update headers to new copyright text
Browse files Browse the repository at this point in the history
Summary:
The header should read

```
Copyright (c) Facebook, Inc. and its affiliates.
```

Updated comments that looked like `* Copyright (c) 2013-present, Facebook, Inc.`

```
$ for file in `hg grep -l "\* Copyright.*Inc.$"`; \
  do sed -i "s/\* Copyright.*Inc.$/* Copyright (c) Facebook, Inc. and its affiliates./" $file; \
done
```

Updated comments that look like `* Copyright 2004-present Facebook. All rights reserved.`

```
$ for file in `hg grep -l "\* Copyright.*-present.*eserved.$"`; \
  do sed -i "s/\* Copyright.*-present.*eserved.$/* Copyright (c) Facebook, Inc. and its affiliates./" $file; \
done
```

Did the same for comments that start with `#`

```
$ for file in `hg grep -l "# Copyright.*-present.*eserved.$"`; \
  do sed -i "s/# Copyright.*-present.*eserved.$/# Copyright (c) Facebook, Inc. and its affiliates./" $file;
done
$ for file in `hg grep -l "# Copyright.*Inc.$"`; \
  do sed -i "s/# Copyright.*Inc.$/# Copyright (c) Facebook, Inc. and its affiliates./" $file; \
done
```

Manually updated 3 files:
* `tests/nonstrict_import/libs/modules.js`
* `tests/call_caching2/lib/immutable.js`
* `tests/type_param_variance2/libs/Promise.js`

Reverted 3rd party code

```
$ hg revert -r master src/third-party
```

Reviewed By: samwgoldman

Differential Revision: D13592391

fbshipit-source-id: efdfa7b538032f511e621712a0c9990d17050abb
  • Loading branch information
gabelevi authored and facebook-github-bot committed Jan 7, 2019
1 parent 09e1f8e commit ef74a64
Show file tree
Hide file tree
Showing 512 changed files with 512 additions and 512 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2013-present, Facebook, Inc.
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.

################################################################################
Expand Down
2 changes: 1 addition & 1 deletion lib/bom.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion lib/core.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion lib/cssom.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion lib/dom.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion lib/intl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion lib/node.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion lib/react-dom.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion lib/react.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion lib/serviceworkers.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion lib/streams.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-dev-tools/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2013-present, Facebook, Inc.
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.

test:
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-parser-bin/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2017-present, Facebook, Inc.
# 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.
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-parser-bin/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-parser-bin/src/flow_parser_node.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-parser/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2013-present, Facebook, Inc.
# 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.
Expand Down
2 changes: 1 addition & 1 deletion scripts/gen_build_id.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion scripts/ppx_gen_flowlibs.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion scripts/script_utils.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/astCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/autocompleteCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/checkCommands.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/checkContentsCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/commandConnect.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/commandConnectSimple.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/commandConnectSimple.mli
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/commandInfo.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/commandMeanKill.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/commandSpec.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/commandSpec.mli
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/commandUtils.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/config/__tests__/test.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/config/__tests__/version_regex_test.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/config/flowConfig.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/config/flowConfig.mli
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/config/version_regex.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/configCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/coverageCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/cycleCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/dumpTypesCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/findModuleCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/findRefsCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2014, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/forceRecheckCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/getDefCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/getImportsCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/graphCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/ideCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/initCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/lsCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/lspCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/commands/refactorCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2014, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/saveStateCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2018-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/serverCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/shellCompleteCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/startCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/statusCommands.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/stopCommand.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(**
* Copyright (c) 2013-present, Facebook, Inc.
* 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.
Expand Down

0 comments on commit ef74a64

Please sign in to comment.