Fix licenses
authorNicholas Ormrod <njormrod@fb.com>
Tue, 4 Nov 2014 00:18:41 +0000 (16:18 -0800)
committerPavlo Kushnir <pavlo@fb.com>
Sat, 8 Nov 2014 02:35:01 +0000 (18:35 -0800)
Summary:
There are two types of licenses used in folly, only one of
which is accepted by the linter.

This diff changes the license notices in pre-existing folly files!
Many folly/io/async/* files have the second type of license, but
without a Copyright notice. I have added copyright notices to these
files.

I have also added a compliant notice to
folly/test/function_benchmark/benchmark_impl.h, which was the sole file
in folly/test/function_benchmark/ that didn't have a standard license.

Test Plan:
The changes to folly are comment only.

Run all of folly against the linter, see no more license errors.

Reviewed By: davejwatson@fb.com

Subscribers: trunkagent, sdwilsh, njormrod, folly-diffs@, sjenkins

FB internal diff: D1648489

Tasks: 5486739

Signature: t1:1648489:1415035522:3d8bd9611eb7c7117b70d5e7f68de5768639a727

folly/io/async/AsyncTimeout.cpp
folly/io/async/AsyncTimeout.h
folly/io/async/EventHandler.cpp
folly/io/async/EventHandler.h
folly/io/async/EventUtil.h
folly/io/async/HHWheelTimer.cpp
folly/io/async/Request.cpp
folly/io/async/Request.h
folly/io/async/TimeoutManager.h
folly/test/function_benchmark/benchmark_impl.h

index 4119e35bccb8d9bfaa659fb6d1023fa6461b27e4..1bd5a831e63df3c74ac6975c8522064ff643cf5b 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * Copyright 2014 Facebook, Inc.
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements. See the NOTICE file
  * distributed with this work for additional information
index 1385c5d28c141acad04249a9db95113686532caa..86e91cf09c1bf9c951d37cf3c14746e7e7cea9db 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * Copyright 2014 Facebook, Inc.
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements. See the NOTICE file
  * distributed with this work for additional information
index 77b09d1435ad7e8362b219423f07af27224135ed..886042001fa2af8546017a205e32b57a46b8174e 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * Copyright 2014 Facebook, Inc.
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements. See the NOTICE file
  * distributed with this work for additional information
index 31abc7ee78667978e9c75a6a8d9f1e5fef5c7c72..798b00b7c7ab6e247e28eff49ab46b6b467f2cda 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * Copyright 2014 Facebook, Inc.
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements. See the NOTICE file
  * distributed with this work for additional information
index 2942f97a776b0ad3e15e701fe4c6ad6981e58c63..26653bcfc352fb92a83774430cc8ca4952e75e32 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * Copyright 2014 Facebook, Inc.
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements. See the NOTICE file
  * distributed with this work for additional information
index 587a271003c09a6d90d6adb93596583dea3b2ded..761d4fd2630e5ceafbfdb9532d2097ee6958d6fa 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * Copyright 2014 Facebook, Inc.
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements. See the NOTICE file
  * distributed with this work for additional information
index 3ea9fd5a94751b2fa035c952d4f00d7b9f6993fc..0f7d2ec361e93000b3f0b9f8a263b93ceea55631 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * Copyright 2014 Facebook, Inc.
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements. See the NOTICE file
  * distributed with this work for additional information
index 85459fb4870666ae094ea8835e278217f92fd167..9d1ff119581a452ea1321c4685298c86a596ee2a 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * Copyright 2014 Facebook, Inc.
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements. See the NOTICE file
  * distributed with this work for additional information
index e54ef20f7e9bf9157d865b235686ba33e39f9562..fb3a1b0e74dd6c5acf7e409269b8090d6b484f0f 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * Copyright 2014 Facebook, Inc.
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements. See the NOTICE file
  * distributed with this work for additional information
index b6eb40ce846486c0788d785f22b5cc1a504e24cd..bb97872b2dee271bf6b4b4aea74c5bd39403c883 100644 (file)
@@ -1,4 +1,18 @@
-// Copyright 2004-present Facebook.  All rights reserved.
+/*
+ * Copyright 2014 Facebook, Inc.
+ *
+ * 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.
+ */
 #ifndef BENCHMARK_IMPL_H_
 #define BENCHMARK_IMPL_H_