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"?>
<!--
~ 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"
package="com.facebook.flipper">
</manifest>

View File

@@ -1,5 +1,12 @@
<?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"
package="com.facebook.flipper.sample">
<uses-permission android:name="android.permission.INTERNET" />

View File

@@ -1,5 +1,12 @@
<?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>
<string name="app_name">Flipper</string>
</resources>

View File

@@ -1,5 +1,12 @@
<?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>
<style name="NoTitleBarWhiteBG" parent="Theme.AppCompat.Light">
<item name="android:textColor">#000000</item>

View File

@@ -1,4 +1,11 @@
<?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"
package="com.facebook.flipper">
</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;
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;
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;
public interface FlipperDiagnosticSummaryTextFilter {

View File

@@ -1,4 +1,11 @@
<?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"
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
import static com.facebook.flipper.plugins.inspector.InspectorValue.Type.Color;

View File

@@ -1,4 +1,11 @@
<?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>
<item type="id" name="flipper_skip_view_traversal"/>
</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;
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;
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;
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;
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;
import org.hamcrest.Description;

View File

@@ -1,3 +1,10 @@
<?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>

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 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
// !!!

View File

@@ -1,4 +1,11 @@
<?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"
package="com.doubleconversion">
</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'
android {

View File

@@ -1,4 +1,11 @@
<?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"
package="com.folly">
</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'
android {

View File

@@ -1,4 +1,11 @@
<?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"
package="com.libevent">
</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'
android {

View File

@@ -1,4 +1,11 @@
<?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"
package="com.openssl">
</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'
android {

View File

@@ -1,4 +1,11 @@
<?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"
package="com.rsocket">
</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',

View File

@@ -1,4 +1,11 @@
<?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"
package="com.glog">
</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'
android {