diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 23d4a45bc..bee5a7d42 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,4 +36,4 @@ outlined on that page and do not file a public issue. ## License By contributing to wangle, you agree that your contributions will be licensed -under its BSD license. +under its Apache 2.0 license. diff --git a/LICENSE b/LICENSE index 987a359be..f433b1a53 100644 --- a/LICENSE +++ b/LICENSE @@ -1,30 +1,177 @@ -BSD License -For wangle software + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -Copyright (c) 2015-present, Facebook, Inc. All rights reserved. + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: + 1. Definitions. - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. - * Neither the name Facebook nor the names of its contributors may be used to - endorse or promote products derived from this software without specific - prior written permission. + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS diff --git a/PATENTS b/PATENTS deleted file mode 100644 index bd5a350ad..000000000 --- a/PATENTS +++ /dev/null @@ -1,33 +0,0 @@ -Additional Grant of Patent Rights Version 2 - -"Software" means the wangle software distributed by Facebook, Inc. - -Facebook, Inc. ("Facebook") hereby grants to each recipient of the Software -("you") a perpetual, worldwide, royalty-free, non-exclusive, irrevocable -(subject to the termination provision below) license under any Necessary -Claims, to make, have made, use, sell, offer to sell, import, and otherwise -transfer the Software. For avoidance of doubt, no license is granted under -Facebook’s rights in any patent claims that are infringed by (i) modifications -to the Software made by you or any third party or (ii) the Software in -combination with any software or other technology. - -The license granted hereunder will terminate, automatically and without notice, -if you (or any of your subsidiaries, corporate affiliates or agents) initiate -directly or indirectly, or take a direct financial interest in, any Patent -Assertion: (i) against Facebook or any of its subsidiaries or corporate -affiliates, (ii) against any party if such Patent Assertion arises in whole or -in part from any software, technology, product or service of Facebook or any of -its subsidiaries or corporate affiliates, or (iii) against any party relating -to the Software. Notwithstanding the foregoing, if Facebook or any of its -subsidiaries or corporate affiliates files a lawsuit alleging patent -infringement against you in the first instance, and you respond by filing a -patent infringement counterclaim in that lawsuit against that party that is -unrelated to the Software, the license granted hereunder will not terminate -under section (i) of this paragraph due to such counterclaim. - -A "Necessary Claim" is a claim of a patent owned by Facebook that is -necessarily infringed by the Software standing alone. - -A "Patent Assertion" is any lawsuit or other action alleging direct, indirect, -or contributory infringement or inducement to infringe any patent, including a -cross-claim or counterclaim. diff --git a/README.md b/README.md index 3557e3638..6bd56f167 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ There is a tutorial [here](tutorial.md) that explains the basics of Wangle and s See the examples/ directory for some example Wangle servers and clients ## License -Wangle is BSD-licensed. We also provide an additional patent grant. +Wangle is Apache 2.0-licensed. ## Contributing See the CONTRIBUTING file for how to help out. diff --git a/wangle/acceptor/Acceptor.cpp b/wangle/acceptor/Acceptor.cpp index d9bfeacc8..2e4084b17 100644 --- a/wangle/acceptor/Acceptor.cpp +++ b/wangle/acceptor/Acceptor.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/acceptor/Acceptor.h b/wangle/acceptor/Acceptor.h index 7a91391d1..225fdf43f 100644 --- a/wangle/acceptor/Acceptor.h +++ b/wangle/acceptor/Acceptor.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/acceptor/AcceptorHandshakeManager.cpp b/wangle/acceptor/AcceptorHandshakeManager.cpp index 5cfb57d11..a92524cc4 100644 --- a/wangle/acceptor/AcceptorHandshakeManager.cpp +++ b/wangle/acceptor/AcceptorHandshakeManager.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/acceptor/AcceptorHandshakeManager.h b/wangle/acceptor/AcceptorHandshakeManager.h index 2c6324aa0..706f5cb6c 100644 --- a/wangle/acceptor/AcceptorHandshakeManager.h +++ b/wangle/acceptor/AcceptorHandshakeManager.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/acceptor/ConnectionCounter.h b/wangle/acceptor/ConnectionCounter.h index 04da45bff..23949dd55 100644 --- a/wangle/acceptor/ConnectionCounter.h +++ b/wangle/acceptor/ConnectionCounter.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/acceptor/ConnectionManager.cpp b/wangle/acceptor/ConnectionManager.cpp index 4fc7b5d7c..f565d6c55 100644 --- a/wangle/acceptor/ConnectionManager.cpp +++ b/wangle/acceptor/ConnectionManager.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/acceptor/ConnectionManager.h b/wangle/acceptor/ConnectionManager.h index 958f16249..eddf9672b 100644 --- a/wangle/acceptor/ConnectionManager.h +++ b/wangle/acceptor/ConnectionManager.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/acceptor/LoadShedConfiguration.cpp b/wangle/acceptor/LoadShedConfiguration.cpp index 5054e9c04..b27ad6526 100644 --- a/wangle/acceptor/LoadShedConfiguration.cpp +++ b/wangle/acceptor/LoadShedConfiguration.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/acceptor/LoadShedConfiguration.h b/wangle/acceptor/LoadShedConfiguration.h index c806e4636..6259bb225 100644 --- a/wangle/acceptor/LoadShedConfiguration.h +++ b/wangle/acceptor/LoadShedConfiguration.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/acceptor/ManagedConnection.cpp b/wangle/acceptor/ManagedConnection.cpp index 20d4f9f08..7c6ed5ff3 100644 --- a/wangle/acceptor/ManagedConnection.cpp +++ b/wangle/acceptor/ManagedConnection.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/acceptor/ManagedConnection.h b/wangle/acceptor/ManagedConnection.h index 51b627116..be4e5ac81 100644 --- a/wangle/acceptor/ManagedConnection.h +++ b/wangle/acceptor/ManagedConnection.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/acceptor/NetworkAddress.h b/wangle/acceptor/NetworkAddress.h index 6be3310e1..0e87faa6a 100644 --- a/wangle/acceptor/NetworkAddress.h +++ b/wangle/acceptor/NetworkAddress.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/acceptor/PeekingAcceptorHandshakeHelper.h b/wangle/acceptor/PeekingAcceptorHandshakeHelper.h index 656a51970..8b770043c 100644 --- a/wangle/acceptor/PeekingAcceptorHandshakeHelper.h +++ b/wangle/acceptor/PeekingAcceptorHandshakeHelper.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/acceptor/SSLAcceptorHandshakeHelper.cpp b/wangle/acceptor/SSLAcceptorHandshakeHelper.cpp index d487a3d4c..a9ec14afb 100644 --- a/wangle/acceptor/SSLAcceptorHandshakeHelper.cpp +++ b/wangle/acceptor/SSLAcceptorHandshakeHelper.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/acceptor/SSLAcceptorHandshakeHelper.h b/wangle/acceptor/SSLAcceptorHandshakeHelper.h index e6698aad7..5f42c09fe 100644 --- a/wangle/acceptor/SSLAcceptorHandshakeHelper.h +++ b/wangle/acceptor/SSLAcceptorHandshakeHelper.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/acceptor/SSLContextSelectionMisc.h b/wangle/acceptor/SSLContextSelectionMisc.h index d203fe59e..0acff840b 100644 --- a/wangle/acceptor/SSLContextSelectionMisc.h +++ b/wangle/acceptor/SSLContextSelectionMisc.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/acceptor/SecureTransportType.cpp b/wangle/acceptor/SecureTransportType.cpp index 287e92e04..71a77a1f3 100644 --- a/wangle/acceptor/SecureTransportType.cpp +++ b/wangle/acceptor/SecureTransportType.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/acceptor/SecureTransportType.h b/wangle/acceptor/SecureTransportType.h index d86246479..082e4a4ff 100644 --- a/wangle/acceptor/SecureTransportType.h +++ b/wangle/acceptor/SecureTransportType.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/acceptor/SecurityProtocolContextManager.h b/wangle/acceptor/SecurityProtocolContextManager.h index a9b329cf0..78354b543 100644 --- a/wangle/acceptor/SecurityProtocolContextManager.h +++ b/wangle/acceptor/SecurityProtocolContextManager.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/acceptor/ServerSocketConfig.h b/wangle/acceptor/ServerSocketConfig.h index ebcd4e3cd..8dceffd21 100644 --- a/wangle/acceptor/ServerSocketConfig.h +++ b/wangle/acceptor/ServerSocketConfig.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/acceptor/SocketOptions.cpp b/wangle/acceptor/SocketOptions.cpp index 9c346c375..a2f456b7a 100644 --- a/wangle/acceptor/SocketOptions.cpp +++ b/wangle/acceptor/SocketOptions.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/acceptor/SocketOptions.h b/wangle/acceptor/SocketOptions.h index ffb23971e..915e6cf38 100644 --- a/wangle/acceptor/SocketOptions.h +++ b/wangle/acceptor/SocketOptions.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/acceptor/SocketPeeker.h b/wangle/acceptor/SocketPeeker.h index 0c4ee2794..ba29373c5 100644 --- a/wangle/acceptor/SocketPeeker.h +++ b/wangle/acceptor/SocketPeeker.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/acceptor/TLSPlaintextPeekingCallback.cpp b/wangle/acceptor/TLSPlaintextPeekingCallback.cpp index 37dda9e5a..64489aebe 100644 --- a/wangle/acceptor/TLSPlaintextPeekingCallback.cpp +++ b/wangle/acceptor/TLSPlaintextPeekingCallback.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/acceptor/TLSPlaintextPeekingCallback.h b/wangle/acceptor/TLSPlaintextPeekingCallback.h index 4192bf607..541353491 100644 --- a/wangle/acceptor/TLSPlaintextPeekingCallback.h +++ b/wangle/acceptor/TLSPlaintextPeekingCallback.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/acceptor/TransportInfo.cpp b/wangle/acceptor/TransportInfo.cpp index ce4ff7be3..d697fdd9e 100644 --- a/wangle/acceptor/TransportInfo.cpp +++ b/wangle/acceptor/TransportInfo.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/acceptor/TransportInfo.h b/wangle/acceptor/TransportInfo.h index 8242b610f..aa6d82935 100644 --- a/wangle/acceptor/TransportInfo.h +++ b/wangle/acceptor/TransportInfo.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/acceptor/UnencryptedAcceptorHandshakeHelper.h b/wangle/acceptor/UnencryptedAcceptorHandshakeHelper.h index 28f0b4cd7..701b4ee13 100644 --- a/wangle/acceptor/UnencryptedAcceptorHandshakeHelper.h +++ b/wangle/acceptor/UnencryptedAcceptorHandshakeHelper.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/acceptor/test/AcceptorTest.cpp b/wangle/acceptor/test/AcceptorTest.cpp index 27a597eeb..20f67bb9b 100644 --- a/wangle/acceptor/test/AcceptorTest.cpp +++ b/wangle/acceptor/test/AcceptorTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/acceptor/test/ConnectionManagerTest.cpp b/wangle/acceptor/test/ConnectionManagerTest.cpp index 52347712c..44bc64bb1 100644 --- a/wangle/acceptor/test/ConnectionManagerTest.cpp +++ b/wangle/acceptor/test/ConnectionManagerTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/acceptor/test/LoadShedConfigurationTest.cpp b/wangle/acceptor/test/LoadShedConfigurationTest.cpp index 10fed4171..446369ef7 100644 --- a/wangle/acceptor/test/LoadShedConfigurationTest.cpp +++ b/wangle/acceptor/test/LoadShedConfigurationTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/acceptor/test/PeekingAcceptorHandshakeHelperTest.cpp b/wangle/acceptor/test/PeekingAcceptorHandshakeHelperTest.cpp index 5ace91715..f591197bc 100644 --- a/wangle/acceptor/test/PeekingAcceptorHandshakeHelperTest.cpp +++ b/wangle/acceptor/test/PeekingAcceptorHandshakeHelperTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/acceptor/test/SecurityProtocolContextManagerTest.cpp b/wangle/acceptor/test/SecurityProtocolContextManagerTest.cpp index b58494152..b37437d28 100644 --- a/wangle/acceptor/test/SecurityProtocolContextManagerTest.cpp +++ b/wangle/acceptor/test/SecurityProtocolContextManagerTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/acceptor/test/SocketPeekerTest.cpp b/wangle/acceptor/test/SocketPeekerTest.cpp index 1e9330556..f10b15098 100644 --- a/wangle/acceptor/test/SocketPeekerTest.cpp +++ b/wangle/acceptor/test/SocketPeekerTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/bootstrap/AcceptRoutingHandler-inl.h b/wangle/bootstrap/AcceptRoutingHandler-inl.h index e4e27b866..d21fda68d 100644 --- a/wangle/bootstrap/AcceptRoutingHandler-inl.h +++ b/wangle/bootstrap/AcceptRoutingHandler-inl.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/bootstrap/AcceptRoutingHandler.h b/wangle/bootstrap/AcceptRoutingHandler.h index ff7f55e5d..088c3aac4 100644 --- a/wangle/bootstrap/AcceptRoutingHandler.h +++ b/wangle/bootstrap/AcceptRoutingHandler.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/bootstrap/AcceptRoutingHandlerTest.cpp b/wangle/bootstrap/AcceptRoutingHandlerTest.cpp index badb32d4f..3170f0598 100644 --- a/wangle/bootstrap/AcceptRoutingHandlerTest.cpp +++ b/wangle/bootstrap/AcceptRoutingHandlerTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include "Mocks.h" diff --git a/wangle/bootstrap/BaseClientBootstrap.h b/wangle/bootstrap/BaseClientBootstrap.h index 7d7d4a9c8..c0c8545a3 100644 --- a/wangle/bootstrap/BaseClientBootstrap.h +++ b/wangle/bootstrap/BaseClientBootstrap.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/bootstrap/BootstrapTest.cpp b/wangle/bootstrap/BootstrapTest.cpp index 211ff4768..1281cb937 100644 --- a/wangle/bootstrap/BootstrapTest.cpp +++ b/wangle/bootstrap/BootstrapTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include "wangle/bootstrap/ServerBootstrap.h" diff --git a/wangle/bootstrap/ClientBootstrap.h b/wangle/bootstrap/ClientBootstrap.h index cc7d42e61..7f8bb035b 100644 --- a/wangle/bootstrap/ClientBootstrap.h +++ b/wangle/bootstrap/ClientBootstrap.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/bootstrap/Mocks.h b/wangle/bootstrap/Mocks.h index 9637c8edf..2a26492f3 100644 --- a/wangle/bootstrap/Mocks.h +++ b/wangle/bootstrap/Mocks.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/bootstrap/RoutingDataHandler-inl.h b/wangle/bootstrap/RoutingDataHandler-inl.h index 79667b653..333e302b9 100644 --- a/wangle/bootstrap/RoutingDataHandler-inl.h +++ b/wangle/bootstrap/RoutingDataHandler-inl.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/bootstrap/RoutingDataHandler.h b/wangle/bootstrap/RoutingDataHandler.h index acd1424a0..b70b03689 100644 --- a/wangle/bootstrap/RoutingDataHandler.h +++ b/wangle/bootstrap/RoutingDataHandler.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/bootstrap/ServerBootstrap-inl.h b/wangle/bootstrap/ServerBootstrap-inl.h index 3c65c3c91..87b7245f7 100644 --- a/wangle/bootstrap/ServerBootstrap-inl.h +++ b/wangle/bootstrap/ServerBootstrap-inl.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/bootstrap/ServerBootstrap.cpp b/wangle/bootstrap/ServerBootstrap.cpp index 5fe66aad9..db01678e0 100644 --- a/wangle/bootstrap/ServerBootstrap.cpp +++ b/wangle/bootstrap/ServerBootstrap.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/bootstrap/ServerBootstrap.h b/wangle/bootstrap/ServerBootstrap.h index fa4ac7702..2d8ff4fc0 100644 --- a/wangle/bootstrap/ServerBootstrap.h +++ b/wangle/bootstrap/ServerBootstrap.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/bootstrap/ServerSocketFactory.h b/wangle/bootstrap/ServerSocketFactory.h index 79b91c153..007d2e920 100644 --- a/wangle/bootstrap/ServerSocketFactory.h +++ b/wangle/bootstrap/ServerSocketFactory.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/AsyncSocketHandler.h b/wangle/channel/AsyncSocketHandler.h index dc350d969..13927858b 100644 --- a/wangle/channel/AsyncSocketHandler.h +++ b/wangle/channel/AsyncSocketHandler.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/EventBaseHandler.h b/wangle/channel/EventBaseHandler.h index fd60ffd02..efce100a7 100644 --- a/wangle/channel/EventBaseHandler.h +++ b/wangle/channel/EventBaseHandler.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/FileRegion.cpp b/wangle/channel/FileRegion.cpp index eab095cc4..a09e0f7bb 100644 --- a/wangle/channel/FileRegion.cpp +++ b/wangle/channel/FileRegion.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/channel/FileRegion.h b/wangle/channel/FileRegion.h index 63dbbab27..5c202d05f 100644 --- a/wangle/channel/FileRegion.h +++ b/wangle/channel/FileRegion.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/Handler.h b/wangle/channel/Handler.h index ee617bca8..e172d6b61 100644 --- a/wangle/channel/Handler.h +++ b/wangle/channel/Handler.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/HandlerContext-inl.h b/wangle/channel/HandlerContext-inl.h index 3269eceab..e1b939ce7 100644 --- a/wangle/channel/HandlerContext-inl.h +++ b/wangle/channel/HandlerContext-inl.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/HandlerContext.h b/wangle/channel/HandlerContext.h index fa83d6ca8..2d40874df 100644 --- a/wangle/channel/HandlerContext.h +++ b/wangle/channel/HandlerContext.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/OutputBufferingHandler.h b/wangle/channel/OutputBufferingHandler.h index 1183780dd..2278d59be 100644 --- a/wangle/channel/OutputBufferingHandler.h +++ b/wangle/channel/OutputBufferingHandler.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/Pipeline-inl.h b/wangle/channel/Pipeline-inl.h index 41b6142cf..ae636971f 100644 --- a/wangle/channel/Pipeline-inl.h +++ b/wangle/channel/Pipeline-inl.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/Pipeline.cpp b/wangle/channel/Pipeline.cpp index 6914949e9..c1f4e7d00 100644 --- a/wangle/channel/Pipeline.cpp +++ b/wangle/channel/Pipeline.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/channel/Pipeline.h b/wangle/channel/Pipeline.h index 43b557566..ea90d23c6 100644 --- a/wangle/channel/Pipeline.h +++ b/wangle/channel/Pipeline.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/StaticPipeline.h b/wangle/channel/StaticPipeline.h index 14af2d72e..8b0a65f58 100644 --- a/wangle/channel/StaticPipeline.h +++ b/wangle/channel/StaticPipeline.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/broadcast/BroadcastHandler-inl.h b/wangle/channel/broadcast/BroadcastHandler-inl.h index 7c85d1977..21a88a788 100644 --- a/wangle/channel/broadcast/BroadcastHandler-inl.h +++ b/wangle/channel/broadcast/BroadcastHandler-inl.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/broadcast/BroadcastHandler.h b/wangle/channel/broadcast/BroadcastHandler.h index ec9b35141..d84162d1b 100644 --- a/wangle/channel/broadcast/BroadcastHandler.h +++ b/wangle/channel/broadcast/BroadcastHandler.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/broadcast/BroadcastPool-inl.h b/wangle/channel/broadcast/BroadcastPool-inl.h index 498ba49d6..63e7d417d 100644 --- a/wangle/channel/broadcast/BroadcastPool-inl.h +++ b/wangle/channel/broadcast/BroadcastPool-inl.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/broadcast/BroadcastPool.h b/wangle/channel/broadcast/BroadcastPool.h index 4edc26b08..be4d1bac0 100644 --- a/wangle/channel/broadcast/BroadcastPool.h +++ b/wangle/channel/broadcast/BroadcastPool.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/broadcast/ObservingHandler-inl.h b/wangle/channel/broadcast/ObservingHandler-inl.h index 0a9a95c68..f1d64ac67 100644 --- a/wangle/channel/broadcast/ObservingHandler-inl.h +++ b/wangle/channel/broadcast/ObservingHandler-inl.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/broadcast/ObservingHandler.h b/wangle/channel/broadcast/ObservingHandler.h index 4df29b27d..08b363ca7 100644 --- a/wangle/channel/broadcast/ObservingHandler.h +++ b/wangle/channel/broadcast/ObservingHandler.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/broadcast/Subscriber.h b/wangle/channel/broadcast/Subscriber.h index 89773700d..4883d0acc 100644 --- a/wangle/channel/broadcast/Subscriber.h +++ b/wangle/channel/broadcast/Subscriber.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/broadcast/test/BroadcastHandlerTest.cpp b/wangle/channel/broadcast/test/BroadcastHandlerTest.cpp index 6dde420c7..09b7f1014 100644 --- a/wangle/channel/broadcast/test/BroadcastHandlerTest.cpp +++ b/wangle/channel/broadcast/test/BroadcastHandlerTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include #include diff --git a/wangle/channel/broadcast/test/BroadcastPoolTest.cpp b/wangle/channel/broadcast/test/BroadcastPoolTest.cpp index b9ebbb3e4..71c5c2941 100644 --- a/wangle/channel/broadcast/test/BroadcastPoolTest.cpp +++ b/wangle/channel/broadcast/test/BroadcastPoolTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include #include diff --git a/wangle/channel/broadcast/test/Mocks.h b/wangle/channel/broadcast/test/Mocks.h index 8aaf1b2e9..34c1912c4 100644 --- a/wangle/channel/broadcast/test/Mocks.h +++ b/wangle/channel/broadcast/test/Mocks.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/broadcast/test/ObservingClientPipelineTest.cpp b/wangle/channel/broadcast/test/ObservingClientPipelineTest.cpp index 55b548c2b..d3ae3a963 100644 --- a/wangle/channel/broadcast/test/ObservingClientPipelineTest.cpp +++ b/wangle/channel/broadcast/test/ObservingClientPipelineTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include "wangle/bootstrap/ServerBootstrap.h" #include "wangle/bootstrap/ClientBootstrap.h" diff --git a/wangle/channel/broadcast/test/ObservingHandlerTest.cpp b/wangle/channel/broadcast/test/ObservingHandlerTest.cpp index 5723481f6..d76e8ff38 100644 --- a/wangle/channel/broadcast/test/ObservingHandlerTest.cpp +++ b/wangle/channel/broadcast/test/ObservingHandlerTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include #include diff --git a/wangle/channel/test/AsyncSocketHandlerTest.cpp b/wangle/channel/test/AsyncSocketHandlerTest.cpp index 79dcfdac9..79c4c2cfd 100644 --- a/wangle/channel/test/AsyncSocketHandlerTest.cpp +++ b/wangle/channel/test/AsyncSocketHandlerTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/channel/test/FileRegionTest.cpp b/wangle/channel/test/FileRegionTest.cpp index 9278ce038..4bd8392f2 100644 --- a/wangle/channel/test/FileRegionTest.cpp +++ b/wangle/channel/test/FileRegionTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/channel/test/MockHandler.h b/wangle/channel/test/MockHandler.h index 47af5b607..dd796b520 100644 --- a/wangle/channel/test/MockHandler.h +++ b/wangle/channel/test/MockHandler.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/test/MockPipeline.h b/wangle/channel/test/MockPipeline.h index e888ede31..9d2a753b7 100644 --- a/wangle/channel/test/MockPipeline.h +++ b/wangle/channel/test/MockPipeline.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/channel/test/OutputBufferingHandlerTest.cpp b/wangle/channel/test/OutputBufferingHandlerTest.cpp index a63b7a857..2a44290fe 100644 --- a/wangle/channel/test/OutputBufferingHandlerTest.cpp +++ b/wangle/channel/test/OutputBufferingHandlerTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/channel/test/PipelineTest.cpp b/wangle/channel/test/PipelineTest.cpp index 5724be89e..45629858f 100644 --- a/wangle/channel/test/PipelineTest.cpp +++ b/wangle/channel/test/PipelineTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/client/persistence/FilePersistentCache-inl.h b/wangle/client/persistence/FilePersistentCache-inl.h index f57b5024b..f61b97adc 100644 --- a/wangle/client/persistence/FilePersistentCache-inl.h +++ b/wangle/client/persistence/FilePersistentCache-inl.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/persistence/FilePersistentCache.h b/wangle/client/persistence/FilePersistentCache.h index 92f445f83..38d79121c 100644 --- a/wangle/client/persistence/FilePersistentCache.h +++ b/wangle/client/persistence/FilePersistentCache.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/persistence/LRUInMemoryCache-inl.h b/wangle/client/persistence/LRUInMemoryCache-inl.h index 3617b6ae6..ed31de25f 100644 --- a/wangle/client/persistence/LRUInMemoryCache-inl.h +++ b/wangle/client/persistence/LRUInMemoryCache-inl.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/persistence/LRUInMemoryCache.h b/wangle/client/persistence/LRUInMemoryCache.h index 3fdc6c502..377efbc29 100644 --- a/wangle/client/persistence/LRUInMemoryCache.h +++ b/wangle/client/persistence/LRUInMemoryCache.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/persistence/LRUPersistentCache-inl.h b/wangle/client/persistence/LRUPersistentCache-inl.h index 39ce858ae..9e3b2ff6f 100644 --- a/wangle/client/persistence/LRUPersistentCache-inl.h +++ b/wangle/client/persistence/LRUPersistentCache-inl.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/persistence/LRUPersistentCache.h b/wangle/client/persistence/LRUPersistentCache.h index 9982ab132..2dc76ff93 100644 --- a/wangle/client/persistence/LRUPersistentCache.h +++ b/wangle/client/persistence/LRUPersistentCache.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/persistence/PersistentCache.h b/wangle/client/persistence/PersistentCache.h index deafe2a5a..d1857e7dd 100644 --- a/wangle/client/persistence/PersistentCache.h +++ b/wangle/client/persistence/PersistentCache.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/persistence/PersistentCacheCommon.h b/wangle/client/persistence/PersistentCacheCommon.h index 5b36e5a35..9a21c2689 100644 --- a/wangle/client/persistence/PersistentCacheCommon.h +++ b/wangle/client/persistence/PersistentCacheCommon.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/persistence/SharedMutexCacheLockGuard.h b/wangle/client/persistence/SharedMutexCacheLockGuard.h index 5e347b26e..cf8952f20 100644 --- a/wangle/client/persistence/SharedMutexCacheLockGuard.h +++ b/wangle/client/persistence/SharedMutexCacheLockGuard.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/persistence/test/FilePersistentCacheTest.cpp b/wangle/client/persistence/test/FilePersistentCacheTest.cpp index 3e0396d84..34396a853 100644 --- a/wangle/client/persistence/test/FilePersistentCacheTest.cpp +++ b/wangle/client/persistence/test/FilePersistentCacheTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include #include diff --git a/wangle/client/persistence/test/LRUPersistentCacheTest.cpp b/wangle/client/persistence/test/LRUPersistentCacheTest.cpp index 5cbfb6e93..1115e2e8d 100644 --- a/wangle/client/persistence/test/LRUPersistentCacheTest.cpp +++ b/wangle/client/persistence/test/LRUPersistentCacheTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include #include diff --git a/wangle/client/persistence/test/Mocks.h b/wangle/client/persistence/test/Mocks.h index 1f55ea2e4..43374ed5e 100644 --- a/wangle/client/persistence/test/Mocks.h +++ b/wangle/client/persistence/test/Mocks.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/persistence/test/TestUtil.cpp b/wangle/client/persistence/test/TestUtil.cpp index 66876df9f..a61f4196e 100644 --- a/wangle/client/persistence/test/TestUtil.cpp +++ b/wangle/client/persistence/test/TestUtil.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/client/persistence/test/TestUtil.h b/wangle/client/persistence/test/TestUtil.h index 7dca868cb..5a5a8aa0b 100644 --- a/wangle/client/persistence/test/TestUtil.h +++ b/wangle/client/persistence/test/TestUtil.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/ssl/SSLSession.h b/wangle/client/ssl/SSLSession.h index fbb42ad85..47ec98c3c 100644 --- a/wangle/client/ssl/SSLSession.h +++ b/wangle/client/ssl/SSLSession.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/ssl/SSLSessionCacheData.cpp b/wangle/client/ssl/SSLSessionCacheData.cpp index 70fe3f862..3bd93949f 100644 --- a/wangle/client/ssl/SSLSessionCacheData.cpp +++ b/wangle/client/ssl/SSLSessionCacheData.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ // #include diff --git a/wangle/client/ssl/SSLSessionCacheData.h b/wangle/client/ssl/SSLSessionCacheData.h index ea8119f88..a459ca27d 100644 --- a/wangle/client/ssl/SSLSessionCacheData.h +++ b/wangle/client/ssl/SSLSessionCacheData.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ // #pragma once diff --git a/wangle/client/ssl/SSLSessionCacheUtils.cpp b/wangle/client/ssl/SSLSessionCacheUtils.cpp index de40be08e..1f636fb19 100644 --- a/wangle/client/ssl/SSLSessionCacheUtils.cpp +++ b/wangle/client/ssl/SSLSessionCacheUtils.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/client/ssl/SSLSessionCacheUtils.h b/wangle/client/ssl/SSLSessionCacheUtils.h index 49b82c138..3f7129e50 100644 --- a/wangle/client/ssl/SSLSessionCacheUtils.h +++ b/wangle/client/ssl/SSLSessionCacheUtils.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/ssl/SSLSessionCallbacks.cpp b/wangle/client/ssl/SSLSessionCallbacks.cpp index 8f650176a..127417739 100644 --- a/wangle/client/ssl/SSLSessionCallbacks.cpp +++ b/wangle/client/ssl/SSLSessionCallbacks.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ // #include diff --git a/wangle/client/ssl/SSLSessionCallbacks.h b/wangle/client/ssl/SSLSessionCallbacks.h index 43e48a64f..b0c568098 100644 --- a/wangle/client/ssl/SSLSessionCallbacks.h +++ b/wangle/client/ssl/SSLSessionCallbacks.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/ssl/SSLSessionPersistentCache-inl.h b/wangle/client/ssl/SSLSessionPersistentCache-inl.h index 33a12c7a7..2748df84b 100644 --- a/wangle/client/ssl/SSLSessionPersistentCache-inl.h +++ b/wangle/client/ssl/SSLSessionPersistentCache-inl.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/ssl/SSLSessionPersistentCache.h b/wangle/client/ssl/SSLSessionPersistentCache.h index 356ac830a..c2f0b721f 100644 --- a/wangle/client/ssl/SSLSessionPersistentCache.h +++ b/wangle/client/ssl/SSLSessionPersistentCache.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/ssl/ThreadSafeSSLSessionCache.cpp b/wangle/client/ssl/ThreadSafeSSLSessionCache.cpp index b60ffd3be..351c04880 100644 --- a/wangle/client/ssl/ThreadSafeSSLSessionCache.cpp +++ b/wangle/client/ssl/ThreadSafeSSLSessionCache.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/client/ssl/ThreadSafeSSLSessionCache.h b/wangle/client/ssl/ThreadSafeSSLSessionCache.h index b927e3f81..36b8c1b29 100644 --- a/wangle/client/ssl/ThreadSafeSSLSessionCache.h +++ b/wangle/client/ssl/ThreadSafeSSLSessionCache.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/ssl/test/Mocks.h b/wangle/client/ssl/test/Mocks.h index ba1f5ebe8..ce79cc6c2 100644 --- a/wangle/client/ssl/test/Mocks.h +++ b/wangle/client/ssl/test/Mocks.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/ssl/test/SSLSessionCacheDataTest.cpp b/wangle/client/ssl/test/SSLSessionCacheDataTest.cpp index dcebb0526..351bc55ea 100644 --- a/wangle/client/ssl/test/SSLSessionCacheDataTest.cpp +++ b/wangle/client/ssl/test/SSLSessionCacheDataTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include #include diff --git a/wangle/client/ssl/test/SSLSessionCallbackTest.cpp b/wangle/client/ssl/test/SSLSessionCallbackTest.cpp index eeb4fb000..1cc320e92 100644 --- a/wangle/client/ssl/test/SSLSessionCallbackTest.cpp +++ b/wangle/client/ssl/test/SSLSessionCallbackTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include #include diff --git a/wangle/client/ssl/test/SSLSessionPersistentCacheTest.cpp b/wangle/client/ssl/test/SSLSessionPersistentCacheTest.cpp index 5fc764244..e1e21fe3a 100644 --- a/wangle/client/ssl/test/SSLSessionPersistentCacheTest.cpp +++ b/wangle/client/ssl/test/SSLSessionPersistentCacheTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include #include diff --git a/wangle/client/ssl/test/TestUtil.cpp b/wangle/client/ssl/test/TestUtil.cpp index dbed6a424..e1c7d2902 100644 --- a/wangle/client/ssl/test/TestUtil.cpp +++ b/wangle/client/ssl/test/TestUtil.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/client/ssl/test/TestUtil.h b/wangle/client/ssl/test/TestUtil.h index e4ec3dd2b..cbaaadf75 100644 --- a/wangle/client/ssl/test/TestUtil.h +++ b/wangle/client/ssl/test/TestUtil.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/client/ssl/test/ThreadSafeSSLSessionCacheTest.cpp b/wangle/client/ssl/test/ThreadSafeSSLSessionCacheTest.cpp index 6b0266c1a..7995dfb8f 100644 --- a/wangle/client/ssl/test/ThreadSafeSSLSessionCacheTest.cpp +++ b/wangle/client/ssl/test/ThreadSafeSSLSessionCacheTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include #include diff --git a/wangle/codec/ByteToMessageDecoder.h b/wangle/codec/ByteToMessageDecoder.h index a26a649f5..525a88bf6 100644 --- a/wangle/codec/ByteToMessageDecoder.h +++ b/wangle/codec/ByteToMessageDecoder.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/codec/CodecTest.cpp b/wangle/codec/CodecTest.cpp index d9c0c26ba..a5c2c81f5 100644 --- a/wangle/codec/CodecTest.cpp +++ b/wangle/codec/CodecTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/codec/CodecTestUtils.h b/wangle/codec/CodecTestUtils.h index a9fe12933..d254869a7 100644 --- a/wangle/codec/CodecTestUtils.h +++ b/wangle/codec/CodecTestUtils.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/codec/FixedLengthFrameDecoder.h b/wangle/codec/FixedLengthFrameDecoder.h index f0a96a8f1..f307bd3ae 100644 --- a/wangle/codec/FixedLengthFrameDecoder.h +++ b/wangle/codec/FixedLengthFrameDecoder.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/codec/LengthFieldBasedFrameDecoder.cpp b/wangle/codec/LengthFieldBasedFrameDecoder.cpp index 7e3e71425..d8142bb81 100644 --- a/wangle/codec/LengthFieldBasedFrameDecoder.cpp +++ b/wangle/codec/LengthFieldBasedFrameDecoder.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/codec/LengthFieldBasedFrameDecoder.h b/wangle/codec/LengthFieldBasedFrameDecoder.h index c2084d8e5..263cb06e4 100644 --- a/wangle/codec/LengthFieldBasedFrameDecoder.h +++ b/wangle/codec/LengthFieldBasedFrameDecoder.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/codec/LengthFieldPrepender.cpp b/wangle/codec/LengthFieldPrepender.cpp index 79787b5ec..fb352840a 100644 --- a/wangle/codec/LengthFieldPrepender.cpp +++ b/wangle/codec/LengthFieldPrepender.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/codec/LengthFieldPrepender.h b/wangle/codec/LengthFieldPrepender.h index 158b71f4c..e214d64cd 100644 --- a/wangle/codec/LengthFieldPrepender.h +++ b/wangle/codec/LengthFieldPrepender.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/codec/LineBasedFrameDecoder.cpp b/wangle/codec/LineBasedFrameDecoder.cpp index a473de470..37808660c 100644 --- a/wangle/codec/LineBasedFrameDecoder.cpp +++ b/wangle/codec/LineBasedFrameDecoder.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/codec/LineBasedFrameDecoder.h b/wangle/codec/LineBasedFrameDecoder.h index 5d4a142b0..202e7fd5f 100644 --- a/wangle/codec/LineBasedFrameDecoder.h +++ b/wangle/codec/LineBasedFrameDecoder.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/codec/MessageToByteEncoder.h b/wangle/codec/MessageToByteEncoder.h index 854a81dec..d7ef88294 100644 --- a/wangle/codec/MessageToByteEncoder.h +++ b/wangle/codec/MessageToByteEncoder.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/codec/StringCodec.h b/wangle/codec/StringCodec.h index c2ff8385e..1cdaf7e0d 100644 --- a/wangle/codec/StringCodec.h +++ b/wangle/codec/StringCodec.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/Async.h b/wangle/concurrent/Async.h index 9c1935980..99a968c40 100644 --- a/wangle/concurrent/Async.h +++ b/wangle/concurrent/Async.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/BlockingQueue.h b/wangle/concurrent/BlockingQueue.h index 684c16202..fcca9def9 100644 --- a/wangle/concurrent/BlockingQueue.h +++ b/wangle/concurrent/BlockingQueue.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/CPUThreadPoolExecutor.cpp b/wangle/concurrent/CPUThreadPoolExecutor.cpp index f33579cb9..3c63fca7d 100644 --- a/wangle/concurrent/CPUThreadPoolExecutor.cpp +++ b/wangle/concurrent/CPUThreadPoolExecutor.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/concurrent/CPUThreadPoolExecutor.h b/wangle/concurrent/CPUThreadPoolExecutor.h index 254bc0a81..b08a0b589 100644 --- a/wangle/concurrent/CPUThreadPoolExecutor.h +++ b/wangle/concurrent/CPUThreadPoolExecutor.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/Codel.cpp b/wangle/concurrent/Codel.cpp index 280dc23a9..9812c0052 100644 --- a/wangle/concurrent/Codel.cpp +++ b/wangle/concurrent/Codel.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/concurrent/Codel.h b/wangle/concurrent/Codel.h index 0fb2a5739..e4da94f45 100644 --- a/wangle/concurrent/Codel.h +++ b/wangle/concurrent/Codel.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/FiberIOExecutor.h b/wangle/concurrent/FiberIOExecutor.h index c90bc95f8..be7e272bc 100644 --- a/wangle/concurrent/FiberIOExecutor.h +++ b/wangle/concurrent/FiberIOExecutor.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/FutureExecutor.h b/wangle/concurrent/FutureExecutor.h index beecb54b9..54708511a 100644 --- a/wangle/concurrent/FutureExecutor.h +++ b/wangle/concurrent/FutureExecutor.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/GlobalExecutor.cpp b/wangle/concurrent/GlobalExecutor.cpp index cac169dc6..f7fb129be 100644 --- a/wangle/concurrent/GlobalExecutor.cpp +++ b/wangle/concurrent/GlobalExecutor.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/concurrent/GlobalExecutor.h b/wangle/concurrent/GlobalExecutor.h index f0dd5300d..e4a8c4317 100644 --- a/wangle/concurrent/GlobalExecutor.h +++ b/wangle/concurrent/GlobalExecutor.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/IOExecutor.h b/wangle/concurrent/IOExecutor.h index 78a759525..3b81b2a6a 100644 --- a/wangle/concurrent/IOExecutor.h +++ b/wangle/concurrent/IOExecutor.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/IOObjectCache.h b/wangle/concurrent/IOObjectCache.h index 55215e4a5..46bbe9357 100644 --- a/wangle/concurrent/IOObjectCache.h +++ b/wangle/concurrent/IOObjectCache.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/IOThreadPoolExecutor.cpp b/wangle/concurrent/IOThreadPoolExecutor.cpp index c6ed4a2f9..0c10fff7f 100644 --- a/wangle/concurrent/IOThreadPoolExecutor.cpp +++ b/wangle/concurrent/IOThreadPoolExecutor.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/concurrent/IOThreadPoolExecutor.h b/wangle/concurrent/IOThreadPoolExecutor.h index f329e56ed..941c0e4d1 100644 --- a/wangle/concurrent/IOThreadPoolExecutor.h +++ b/wangle/concurrent/IOThreadPoolExecutor.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/LifoSemMPMCQueue.h b/wangle/concurrent/LifoSemMPMCQueue.h index aa97a83b1..f4718a077 100644 --- a/wangle/concurrent/LifoSemMPMCQueue.h +++ b/wangle/concurrent/LifoSemMPMCQueue.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/NamedThreadFactory.h b/wangle/concurrent/NamedThreadFactory.h index b3f7f8b27..70ddef8f9 100644 --- a/wangle/concurrent/NamedThreadFactory.h +++ b/wangle/concurrent/NamedThreadFactory.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/PriorityLifoSemMPMCQueue.h b/wangle/concurrent/PriorityLifoSemMPMCQueue.h index e4ee4ec0b..8e8b178d2 100644 --- a/wangle/concurrent/PriorityLifoSemMPMCQueue.h +++ b/wangle/concurrent/PriorityLifoSemMPMCQueue.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/PriorityThreadFactory.h b/wangle/concurrent/PriorityThreadFactory.h index c9ff876a4..dc53a1ee0 100644 --- a/wangle/concurrent/PriorityThreadFactory.h +++ b/wangle/concurrent/PriorityThreadFactory.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/SerialExecutor.cpp b/wangle/concurrent/SerialExecutor.cpp index 35ccc2f05..eccd4e29d 100644 --- a/wangle/concurrent/SerialExecutor.cpp +++ b/wangle/concurrent/SerialExecutor.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include "SerialExecutor.h" diff --git a/wangle/concurrent/SerialExecutor.h b/wangle/concurrent/SerialExecutor.h index 908dbc021..b15c1490b 100644 --- a/wangle/concurrent/SerialExecutor.h +++ b/wangle/concurrent/SerialExecutor.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/ThreadFactory.h b/wangle/concurrent/ThreadFactory.h index 554f6bae9..3eb12e4bb 100644 --- a/wangle/concurrent/ThreadFactory.h +++ b/wangle/concurrent/ThreadFactory.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/ThreadPoolExecutor.cpp b/wangle/concurrent/ThreadPoolExecutor.cpp index 6b65c7c3a..33e1b5670 100644 --- a/wangle/concurrent/ThreadPoolExecutor.cpp +++ b/wangle/concurrent/ThreadPoolExecutor.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/concurrent/ThreadPoolExecutor.h b/wangle/concurrent/ThreadPoolExecutor.h index 2a1fc2876..844c29b71 100644 --- a/wangle/concurrent/ThreadPoolExecutor.h +++ b/wangle/concurrent/ThreadPoolExecutor.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/ThreadedExecutor.cpp b/wangle/concurrent/ThreadedExecutor.cpp index 6980a27b1..71d2242ae 100644 --- a/wangle/concurrent/ThreadedExecutor.cpp +++ b/wangle/concurrent/ThreadedExecutor.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/concurrent/ThreadedExecutor.h b/wangle/concurrent/ThreadedExecutor.h index 11e35ad27..f1666109f 100644 --- a/wangle/concurrent/ThreadedExecutor.h +++ b/wangle/concurrent/ThreadedExecutor.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/concurrent/test/AsyncTest.cpp b/wangle/concurrent/test/AsyncTest.cpp index 96d049294..3f4e49398 100644 --- a/wangle/concurrent/test/AsyncTest.cpp +++ b/wangle/concurrent/test/AsyncTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/concurrent/test/CodelTest.cpp b/wangle/concurrent/test/CodelTest.cpp index 883040007..c7375640c 100644 --- a/wangle/concurrent/test/CodelTest.cpp +++ b/wangle/concurrent/test/CodelTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/concurrent/test/FiberIOExecutorTest.cpp b/wangle/concurrent/test/FiberIOExecutorTest.cpp index 429d53a39..ed02e8c5b 100644 --- a/wangle/concurrent/test/FiberIOExecutorTest.cpp +++ b/wangle/concurrent/test/FiberIOExecutorTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2004-present, Facebook, Inc. - * All rights reserved. + * Copyright 2004-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/concurrent/test/GlobalExecutorTest.cpp b/wangle/concurrent/test/GlobalExecutorTest.cpp index 578c01141..23a584bbe 100644 --- a/wangle/concurrent/test/GlobalExecutorTest.cpp +++ b/wangle/concurrent/test/GlobalExecutorTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/concurrent/test/SerialExecutorTest.cpp b/wangle/concurrent/test/SerialExecutorTest.cpp index 29d46f477..2db054db6 100644 --- a/wangle/concurrent/test/SerialExecutorTest.cpp +++ b/wangle/concurrent/test/SerialExecutorTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/concurrent/test/ThreadPoolExecutorTest.cpp b/wangle/concurrent/test/ThreadPoolExecutorTest.cpp index 1bf1aa73c..8e28bc7d0 100644 --- a/wangle/concurrent/test/ThreadPoolExecutorTest.cpp +++ b/wangle/concurrent/test/ThreadPoolExecutorTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/concurrent/test/ThreadedExecutorTest.cpp b/wangle/concurrent/test/ThreadedExecutorTest.cpp index 8fb4060ba..4a289cc7c 100644 --- a/wangle/concurrent/test/ThreadedExecutorTest.cpp +++ b/wangle/concurrent/test/ThreadedExecutorTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/deprecated/rx/Dummy.cpp b/wangle/deprecated/rx/Dummy.cpp index 19840f12b..bb2bb4851 100644 --- a/wangle/deprecated/rx/Dummy.cpp +++ b/wangle/deprecated/rx/Dummy.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ // fbbuild is too dumb to know that .h files in the directory affect diff --git a/wangle/deprecated/rx/Observable.h b/wangle/deprecated/rx/Observable.h index df896b266..ef7bc541f 100644 --- a/wangle/deprecated/rx/Observable.h +++ b/wangle/deprecated/rx/Observable.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/deprecated/rx/Observer.h b/wangle/deprecated/rx/Observer.h index 8ef2e1e81..d12059819 100644 --- a/wangle/deprecated/rx/Observer.h +++ b/wangle/deprecated/rx/Observer.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/deprecated/rx/Subject.h b/wangle/deprecated/rx/Subject.h index 032e84cb0..d74323203 100644 --- a/wangle/deprecated/rx/Subject.h +++ b/wangle/deprecated/rx/Subject.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/deprecated/rx/Subscription.h b/wangle/deprecated/rx/Subscription.h index 00665cb7d..995591b33 100644 --- a/wangle/deprecated/rx/Subscription.h +++ b/wangle/deprecated/rx/Subscription.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/deprecated/rx/test/RxBenchmark.cpp b/wangle/deprecated/rx/test/RxBenchmark.cpp index 1a400ddea..4175e002f 100644 --- a/wangle/deprecated/rx/test/RxBenchmark.cpp +++ b/wangle/deprecated/rx/test/RxBenchmark.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/deprecated/rx/test/RxTest.cpp b/wangle/deprecated/rx/test/RxTest.cpp index 6f5678157..61745573d 100644 --- a/wangle/deprecated/rx/test/RxTest.cpp +++ b/wangle/deprecated/rx/test/RxTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/deprecated/rx/types.h b/wangle/deprecated/rx/types.h index dda04cd78..ce1b52d41 100644 --- a/wangle/deprecated/rx/types.h +++ b/wangle/deprecated/rx/types.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/example/accept_steering/accept_steering_server.cpp b/wangle/example/accept_steering/accept_steering_server.cpp index 573170706..6c18683b0 100644 --- a/wangle/example/accept_steering/accept_steering_server.cpp +++ b/wangle/example/accept_steering/accept_steering_server.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/example/broadcast/BroadcastProxy.cpp b/wangle/example/broadcast/BroadcastProxy.cpp index bc85a2b73..2bae65132 100644 --- a/wangle/example/broadcast/BroadcastProxy.cpp +++ b/wangle/example/broadcast/BroadcastProxy.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/example/echo/EchoClient.cpp b/wangle/example/echo/EchoClient.cpp index 539285d7e..c55d92319 100644 --- a/wangle/example/echo/EchoClient.cpp +++ b/wangle/example/echo/EchoClient.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include #include diff --git a/wangle/example/echo/EchoServer.cpp b/wangle/example/echo/EchoServer.cpp index 01e22a005..f2537e4d7 100644 --- a/wangle/example/echo/EchoServer.cpp +++ b/wangle/example/echo/EchoServer.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/example/file/FileServer.cpp b/wangle/example/file/FileServer.cpp index 0193e5093..c2a0e86dc 100644 --- a/wangle/example/file/FileServer.cpp +++ b/wangle/example/file/FileServer.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/example/proxy/Proxy.cpp b/wangle/example/proxy/Proxy.cpp index 9cce2973e..de2a83d98 100644 --- a/wangle/example/proxy/Proxy.cpp +++ b/wangle/example/proxy/Proxy.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/example/rpc/ClientSerializeHandler.h b/wangle/example/rpc/ClientSerializeHandler.h index a1d80b974..fdae075b9 100644 --- a/wangle/example/rpc/ClientSerializeHandler.h +++ b/wangle/example/rpc/ClientSerializeHandler.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/example/rpc/RpcClient.cpp b/wangle/example/rpc/RpcClient.cpp index 3748494bd..18b4fc026 100644 --- a/wangle/example/rpc/RpcClient.cpp +++ b/wangle/example/rpc/RpcClient.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/example/rpc/RpcServer.cpp b/wangle/example/rpc/RpcServer.cpp index 26604c223..f06f82454 100644 --- a/wangle/example/rpc/RpcServer.cpp +++ b/wangle/example/rpc/RpcServer.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/example/rpc/ServerSerializeHandler.h b/wangle/example/rpc/ServerSerializeHandler.h index b3b946ce3..7d7b90784 100644 --- a/wangle/example/rpc/ServerSerializeHandler.h +++ b/wangle/example/rpc/ServerSerializeHandler.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/example/telnet/TelnetClient.cpp b/wangle/example/telnet/TelnetClient.cpp index dfe02c3b8..404c39883 100644 --- a/wangle/example/telnet/TelnetClient.cpp +++ b/wangle/example/telnet/TelnetClient.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/example/telnet/TelnetServer.cpp b/wangle/example/telnet/TelnetServer.cpp index 823ec5aa5..ffc1e2c6a 100644 --- a/wangle/example/telnet/TelnetServer.cpp +++ b/wangle/example/telnet/TelnetServer.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/service/ClientDispatcher.h b/wangle/service/ClientDispatcher.h index e87a21c73..66378f5b6 100644 --- a/wangle/service/ClientDispatcher.h +++ b/wangle/service/ClientDispatcher.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/service/CloseOnReleaseFilter.h b/wangle/service/CloseOnReleaseFilter.h index 2a0c6a099..c32b4d75a 100644 --- a/wangle/service/CloseOnReleaseFilter.h +++ b/wangle/service/CloseOnReleaseFilter.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/service/ExecutorFilter.h b/wangle/service/ExecutorFilter.h index 5a89bd706..efd077ed2 100644 --- a/wangle/service/ExecutorFilter.h +++ b/wangle/service/ExecutorFilter.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/service/ExpiringFilter.h b/wangle/service/ExpiringFilter.h index bf114ca4d..f57c5711c 100644 --- a/wangle/service/ExpiringFilter.h +++ b/wangle/service/ExpiringFilter.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/service/ServerDispatcher.h b/wangle/service/ServerDispatcher.h index 6b066f6bc..d0a58cf73 100644 --- a/wangle/service/ServerDispatcher.h +++ b/wangle/service/ServerDispatcher.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/service/Service.h b/wangle/service/Service.h index 7b6e5df81..9ea48ae37 100644 --- a/wangle/service/Service.h +++ b/wangle/service/Service.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/service/ServiceTest.cpp b/wangle/service/ServiceTest.cpp index 7a8eef7c6..ce003c538 100644 --- a/wangle/service/ServiceTest.cpp +++ b/wangle/service/ServiceTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/ssl/ClientHelloExtStats.h b/wangle/ssl/ClientHelloExtStats.h index a7523a3c0..a46f8ec0a 100644 --- a/wangle/ssl/ClientHelloExtStats.h +++ b/wangle/ssl/ClientHelloExtStats.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/ssl/PasswordInFile.cpp b/wangle/ssl/PasswordInFile.cpp index 766af2a54..42d3e7bc2 100644 --- a/wangle/ssl/PasswordInFile.cpp +++ b/wangle/ssl/PasswordInFile.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/ssl/PasswordInFile.h b/wangle/ssl/PasswordInFile.h index 4ffa1184a..8802cd926 100644 --- a/wangle/ssl/PasswordInFile.h +++ b/wangle/ssl/PasswordInFile.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/ssl/SSLCacheOptions.h b/wangle/ssl/SSLCacheOptions.h index 4c0c97d04..eaa5ea5a7 100644 --- a/wangle/ssl/SSLCacheOptions.h +++ b/wangle/ssl/SSLCacheOptions.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/ssl/SSLCacheProvider.h b/wangle/ssl/SSLCacheProvider.h index 27f0555c5..808fa6b64 100644 --- a/wangle/ssl/SSLCacheProvider.h +++ b/wangle/ssl/SSLCacheProvider.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/ssl/SSLContextConfig.h b/wangle/ssl/SSLContextConfig.h index bd418958a..724d1c26f 100644 --- a/wangle/ssl/SSLContextConfig.h +++ b/wangle/ssl/SSLContextConfig.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/ssl/SSLContextManager.cpp b/wangle/ssl/SSLContextManager.cpp index e044fb584..ef5004809 100644 --- a/wangle/ssl/SSLContextManager.cpp +++ b/wangle/ssl/SSLContextManager.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/ssl/SSLContextManager.h b/wangle/ssl/SSLContextManager.h index aeaf7d5d5..551eb9e9b 100644 --- a/wangle/ssl/SSLContextManager.h +++ b/wangle/ssl/SSLContextManager.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/ssl/SSLSessionCacheManager.cpp b/wangle/ssl/SSLSessionCacheManager.cpp index 48135c9e2..630cd1069 100644 --- a/wangle/ssl/SSLSessionCacheManager.cpp +++ b/wangle/ssl/SSLSessionCacheManager.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/ssl/SSLSessionCacheManager.h b/wangle/ssl/SSLSessionCacheManager.h index c9a01f155..df2439483 100644 --- a/wangle/ssl/SSLSessionCacheManager.h +++ b/wangle/ssl/SSLSessionCacheManager.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/ssl/SSLStats.h b/wangle/ssl/SSLStats.h index 73596a25c..64dc1c895 100644 --- a/wangle/ssl/SSLStats.h +++ b/wangle/ssl/SSLStats.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/ssl/SSLUtil.cpp b/wangle/ssl/SSLUtil.cpp index 2c3fe8125..d7946cde5 100644 --- a/wangle/ssl/SSLUtil.cpp +++ b/wangle/ssl/SSLUtil.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/ssl/SSLUtil.h b/wangle/ssl/SSLUtil.h index 19bd1dbbe..082b07dbb 100644 --- a/wangle/ssl/SSLUtil.h +++ b/wangle/ssl/SSLUtil.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/ssl/ServerSSLContext.cpp b/wangle/ssl/ServerSSLContext.cpp index 25750e062..0759a0eb4 100644 --- a/wangle/ssl/ServerSSLContext.cpp +++ b/wangle/ssl/ServerSSLContext.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/ssl/ServerSSLContext.h b/wangle/ssl/ServerSSLContext.h index 2c8686aae..93f88fc68 100644 --- a/wangle/ssl/ServerSSLContext.h +++ b/wangle/ssl/ServerSSLContext.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/ssl/TLSCredProcessor.cpp b/wangle/ssl/TLSCredProcessor.cpp index ef6162a9f..cef354936 100644 --- a/wangle/ssl/TLSCredProcessor.cpp +++ b/wangle/ssl/TLSCredProcessor.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/ssl/TLSCredProcessor.h b/wangle/ssl/TLSCredProcessor.h index 05aadcb6d..2f0a9373d 100644 --- a/wangle/ssl/TLSCredProcessor.h +++ b/wangle/ssl/TLSCredProcessor.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/ssl/TLSTicketKeyManager.cpp b/wangle/ssl/TLSTicketKeyManager.cpp index 1745e606b..afce3a19f 100644 --- a/wangle/ssl/TLSTicketKeyManager.cpp +++ b/wangle/ssl/TLSTicketKeyManager.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/ssl/TLSTicketKeyManager.h b/wangle/ssl/TLSTicketKeyManager.h index 316fd6eb4..4b43a209d 100644 --- a/wangle/ssl/TLSTicketKeyManager.h +++ b/wangle/ssl/TLSTicketKeyManager.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/ssl/TLSTicketKeySeeds.h b/wangle/ssl/TLSTicketKeySeeds.h index fecca9093..c8d509bf7 100644 --- a/wangle/ssl/TLSTicketKeySeeds.h +++ b/wangle/ssl/TLSTicketKeySeeds.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/ssl/test/SSLCacheTest.cpp b/wangle/ssl/test/SSLCacheTest.cpp index ae2a78715..abb7bfad8 100644 --- a/wangle/ssl/test/SSLCacheTest.cpp +++ b/wangle/ssl/test/SSLCacheTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include #include diff --git a/wangle/ssl/test/SSLContextManagerTest.cpp b/wangle/ssl/test/SSLContextManagerTest.cpp index c54ec0b21..6c31d43fa 100644 --- a/wangle/ssl/test/SSLContextManagerTest.cpp +++ b/wangle/ssl/test/SSLContextManagerTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include #include diff --git a/wangle/ssl/test/SSLSessionCacheManagerTest.cpp b/wangle/ssl/test/SSLSessionCacheManagerTest.cpp index 4cd7de4a5..8fe795110 100644 --- a/wangle/ssl/test/SSLSessionCacheManagerTest.cpp +++ b/wangle/ssl/test/SSLSessionCacheManagerTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include #include diff --git a/wangle/ssl/test/TLSCredProcessorTest.cpp b/wangle/ssl/test/TLSCredProcessorTest.cpp index 03ada22b2..7d3394d30 100644 --- a/wangle/ssl/test/TLSCredProcessorTest.cpp +++ b/wangle/ssl/test/TLSCredProcessorTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include #include diff --git a/wangle/ssl/test/TLSTicketKeyManagerTest.cpp b/wangle/ssl/test/TLSTicketKeyManagerTest.cpp index ab6ba296b..e24383719 100644 --- a/wangle/ssl/test/TLSTicketKeyManagerTest.cpp +++ b/wangle/ssl/test/TLSTicketKeyManagerTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include #include diff --git a/wangle/ssl/test/TicketUtil.h b/wangle/ssl/test/TicketUtil.h index 739f6132f..6225f6bda 100644 --- a/wangle/ssl/test/TicketUtil.h +++ b/wangle/ssl/test/TicketUtil.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/test/TestMain.cpp b/wangle/test/TestMain.cpp index 8452fadd9..1bfb6667b 100644 --- a/wangle/test/TestMain.cpp +++ b/wangle/test/TestMain.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/util/FilePoller.cpp b/wangle/util/FilePoller.cpp index 3e15df183..3ba2dbabe 100644 --- a/wangle/util/FilePoller.cpp +++ b/wangle/util/FilePoller.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include diff --git a/wangle/util/FilePoller.h b/wangle/util/FilePoller.h index 022265306..a590872d2 100644 --- a/wangle/util/FilePoller.h +++ b/wangle/util/FilePoller.h @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #pragma once diff --git a/wangle/util/test/FilePollerTest.cpp b/wangle/util/test/FilePollerTest.cpp index 17a32f3fa..1c836ddd2 100644 --- a/wangle/util/test/FilePollerTest.cpp +++ b/wangle/util/test/FilePollerTest.cpp @@ -1,11 +1,17 @@ /* - * Copyright (c) 2017, Facebook, Inc. - * All rights reserved. + * Copyright 2017-present Facebook, Inc. * - * 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. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ #include #include