Add version headers

Summary: Last big batch of adding license headers in Java code where they were missing.

Reviewed By: jknoxville

Differential Revision: D15164860

fbshipit-source-id: 4c0a61eec7b5659fdc674ebed85f2ade60dd0aa0
This commit is contained in:
Pascal Hartig
2019-05-01 08:11:44 -07:00
committed by Facebook Github Bot
parent 1831a672b5
commit 608b9182ce
48 changed files with 336 additions and 0 deletions

View File

@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) Facebook, Inc. and its affiliates.
~
~ This source code is licensed under the MIT license found in the LICENSE file
~ in the root directory of this source tree.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.facebook.flipper"> package="com.facebook.flipper">
</manifest> </manifest>

View File

@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) Facebook, Inc. and its affiliates.
~
~ This source code is licensed under the MIT license found in the LICENSE file
~ in the root directory of this source tree.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.facebook.flipper.sample"> package="com.facebook.flipper.sample">
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />

View File

@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) Facebook, Inc. and its affiliates.
~
~ This source code is licensed under the MIT license found in the LICENSE file
~ in the root directory of this source tree.
-->
<resources> <resources>
<string name="app_name">Flipper</string> <string name="app_name">Flipper</string>
</resources> </resources>

View File

@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) Facebook, Inc. and its affiliates.
~
~ This source code is licensed under the MIT license found in the LICENSE file
~ in the root directory of this source tree.
-->
<resources> <resources>
<style name="NoTitleBarWhiteBG" parent="Theme.AppCompat.Light"> <style name="NoTitleBarWhiteBG" parent="Theme.AppCompat.Light">
<item name="android:textColor">#000000</item> <item name="android:textColor">#000000</item>

View File

@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) Facebook, Inc. and its affiliates.
~
~ This source code is licensed under the MIT license found in the LICENSE file
~ in the root directory of this source tree.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.facebook.flipper"> package="com.facebook.flipper">
</manifest> </manifest>

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.common.memory.manager; package com.facebook.common.memory.manager;
public interface DebugMemoryManager { public interface DebugMemoryManager {

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.common.memory.manager; package com.facebook.common.memory.manager;
public class NoOpDebugMemoryManager implements DebugMemoryManager { public class NoOpDebugMemoryManager implements DebugMemoryManager {

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.android.diagnostics; package com.facebook.flipper.android.diagnostics;
public interface FlipperDiagnosticSummaryTextFilter { public interface FlipperDiagnosticSummaryTextFilter {

View File

@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) Facebook, Inc. and its affiliates.
~
~ This source code is licensed under the MIT license found in the LICENSE file
~ in the root directory of this source tree.
-->
<manifest <manifest
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
package="com.facebook.flipper.android.diagnostics"> package="com.facebook.flipper.android.diagnostics">

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.core; package com.facebook.flipper.core;
public interface FlipperStateUpdateListener { public interface FlipperStateUpdateListener {

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.core; package com.facebook.flipper.core;
public class StateElement { public class StateElement {

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.core; package com.facebook.flipper.core;
import java.util.ArrayList; import java.util.ArrayList;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.nativeplugins; package com.facebook.flipper.nativeplugins;
public interface NativePlugin { public interface NativePlugin {

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.nativeplugins; package com.facebook.flipper.nativeplugins;
import com.facebook.flipper.core.FlipperClient; import com.facebook.flipper.core.FlipperClient;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.nativeplugins; package com.facebook.flipper.nativeplugins;
import com.facebook.flipper.core.FlipperPlugin; import com.facebook.flipper.core.FlipperPlugin;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.nativeplugins.components; package com.facebook.flipper.nativeplugins.components;
import com.facebook.flipper.core.FlipperObject; import com.facebook.flipper.core.FlipperObject;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.nativeplugins.components; package com.facebook.flipper.nativeplugins.components;
import com.facebook.flipper.core.FlipperArray; import com.facebook.flipper.core.FlipperArray;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.nativeplugins.components; package com.facebook.flipper.nativeplugins.components;
import com.facebook.flipper.core.FlipperArray; import com.facebook.flipper.core.FlipperArray;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.nativeplugins.components; package com.facebook.flipper.nativeplugins.components;
import com.facebook.flipper.core.FlipperObject; import com.facebook.flipper.core.FlipperObject;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.nativeplugins.table; package com.facebook.flipper.nativeplugins.table;
public class Column { public class Column {

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.nativeplugins.table; package com.facebook.flipper.nativeplugins.table;
import java.util.List; import java.util.List;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.nativeplugins.table; package com.facebook.flipper.nativeplugins.table;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.nativeplugins.table; package com.facebook.flipper.nativeplugins.table;
import com.facebook.flipper.core.FlipperConnection; import com.facebook.flipper.core.FlipperConnection;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.nativeplugins.table; package com.facebook.flipper.nativeplugins.table;
import com.facebook.flipper.core.FlipperObject; import com.facebook.flipper.core.FlipperObject;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.nativeplugins.table; package com.facebook.flipper.nativeplugins.table;
import java.util.List; import java.util.List;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.nativeplugins.table; package com.facebook.flipper.nativeplugins.table;
import com.facebook.flipper.core.FlipperArray; import com.facebook.flipper.core.FlipperArray;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.plugins.litho; package com.facebook.flipper.plugins.litho;
import static com.facebook.flipper.plugins.inspector.InspectorValue.Type.Color; import static com.facebook.flipper.plugins.inspector.InspectorValue.Type.Color;

View File

@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) Facebook, Inc. and its affiliates.
~
~ This source code is licensed under the MIT license found in the LICENSE file
~ in the root directory of this source tree.
-->
<resources> <resources>
<item type="id" name="flipper_skip_view_traversal"/> <item type="id" name="flipper_skip_view_traversal"/>
</resources> </resources>

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.nativeplugins.table; package com.facebook.flipper.nativeplugins.table;
public class MockTablePlugin extends TablePlugin { public class MockTablePlugin extends TablePlugin {

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.nativeplugins.table; package com.facebook.flipper.nativeplugins.table;
import com.facebook.flipper.nativeplugins.components.Sidebar; import com.facebook.flipper.nativeplugins.components.Sidebar;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.nativeplugins.table; package com.facebook.flipper.nativeplugins.table;
public class TableMetadataTestUtils { public class TableMetadataTestUtils {

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.nativeplugins.table; package com.facebook.flipper.nativeplugins.table;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
package com.facebook.flipper.plugins.inspector; package com.facebook.flipper.plugins.inspector;
import org.hamcrest.Description; import org.hamcrest.Description;

View File

@@ -1,3 +1,10 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) Facebook, Inc. and its affiliates.
~
~ This source code is licensed under the MIT license found in the LICENSE file
~ in the root directory of this source tree.
-->
<manifest package="com.facebook.flipper.thirdparty"> <manifest package="com.facebook.flipper.thirdparty">
</manifest> </manifest>

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
apply from: 'native.gradle' apply from: 'native.gradle'

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
import org.apache.tools.ant.filters.ReplaceTokens import org.apache.tools.ant.filters.ReplaceTokens
// !!! // !!!

View File

@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) Facebook, Inc. and its affiliates.
~
~ This source code is licensed under the MIT license found in the LICENSE file
~ in the root directory of this source tree.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.doubleconversion"> package="com.doubleconversion">
</manifest> </manifest>

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {

View File

@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) Facebook, Inc. and its affiliates.
~
~ This source code is licensed under the MIT license found in the LICENSE file
~ in the root directory of this source tree.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.folly"> package="com.folly">
</manifest> </manifest>

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {

View File

@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) Facebook, Inc. and its affiliates.
~
~ This source code is licensed under the MIT license found in the LICENSE file
~ in the root directory of this source tree.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.libevent"> package="com.libevent">
</manifest> </manifest>

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {

View File

@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) Facebook, Inc. and its affiliates.
~
~ This source code is licensed under the MIT license found in the LICENSE file
~ in the root directory of this source tree.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.openssl"> package="com.openssl">
</manifest> </manifest>

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {

View File

@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) Facebook, Inc. and its affiliates.
~
~ This source code is licensed under the MIT license found in the LICENSE file
~ in the root directory of this source tree.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.rsocket"> package="com.rsocket">
</manifest> </manifest>

View File

@@ -27,4 +27,11 @@ android {
} }
} }
} }
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
//'x86', 'x86_64', 'armeabi-v7a', //'x86', 'x86_64', 'armeabi-v7a',

View File

@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) Facebook, Inc. and its affiliates.
~
~ This source code is licensed under the MIT license found in the LICENSE file
~ in the root directory of this source tree.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.glog"> package="com.glog">
</manifest> </manifest>

View File

@@ -1,3 +1,10 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE file
* in the root directory of this source tree.
*/
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {