From f584eb05dd54fa321a348082713d1b99eabc4b66 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Fri, 3 May 2019 09:55:45 -0700 Subject: [PATCH] Another round of header updates Summary: I hope that this takes care of all the android violations. Reviewed By: danielbuechele Differential Revision: D15199150 fbshipit-source-id: 0f5b4edc1bc9d38de0885f88bb2c3e43acfa09cd --- android/build.gradle | 10 ++++++---- android/gradle.properties | 15 +++------------ android/no-op/build.gradle | 10 ++++++---- android/no-op/gradle.properties | 15 +++------------ android/no-op/src/main/AndroidManifest.xml | 4 ++-- .../android/NoOpAndroidFlipperClient.java | 9 ++++----- .../diagnostics/FlipperDiagnosticActivity.java | 9 ++++----- .../com/facebook/flipper/core/FlipperClient.java | 9 ++++----- .../com/facebook/flipper/core/FlipperPlugin.java | 9 ++++----- android/sample/AndroidManifest.xml | 4 ++-- android/sample/build.gradle | 10 ++++++---- android/sample/debug.keystore.properties | 6 ++++-- .../flipper/sample/MainActivityTest.java | 9 ++++----- .../connectivitytest/ConnectionTestActivity.java | 9 ++++----- .../connectivitytest/ConnectionTestPlugin.java | 9 ++++----- .../plugins/example/ExampleFlipperPlugin.java | 9 ++++----- .../facebook/flipper/sample/ExampleActions.java | 9 ++++----- .../flipper/sample/FlipperInitializer.java | 9 ++++----- .../flipper/sample/FlipperSampleApplication.java | 6 +++--- .../facebook/flipper/sample/MainActivity.java | 9 ++++----- .../flipper/sample/RootComponentSpec.java | 9 ++++----- .../flipper/sample/network/NetworkClient.java | 9 ++++----- android/sample/src/main/res/values/strings.xml | 4 ++-- android/sample/src/main/res/values/styles.xml | 4 ++-- .../example/ExampleFlipperPluginTest.java | 9 ++++----- .../flipper/plugins/example/TestApplication.java | 9 ++++----- android/src/main/AndroidManifest.xml | 4 ++-- .../memory/manager/DebugMemoryManager.java | 7 +++---- .../memory/manager/NoOpDebugMemoryManager.java | 7 +++---- .../com/facebook/flipper/android/EventBase.java | 9 ++++----- .../flipper/android/FlipperClientImpl.java | 6 +++--- .../flipper/android/FlipperConnectionImpl.java | 9 ++++----- .../flipper/android/FlipperResponderImpl.java | 9 ++++----- .../facebook/flipper/android/FlipperThread.java | 9 ++++----- .../diagnostics/FlipperDiagnosticActivity.java | 9 ++++----- .../diagnostics/FlipperDiagnosticFragment.java | 9 ++++----- .../FlipperDiagnosticReportListener.java | 9 ++++----- .../FlipperDiagnosticSummaryTextFilter.java | 7 +++---- .../flipper/android/diagnostics/diagnostics.xml | 4 ++-- .../flipper/android/utils/FlipperUtils.java | 9 ++++----- .../flipper/core/ErrorReportingRunnable.java | 9 ++++----- .../com/facebook/flipper/core/FlipperArray.java | 9 ++++----- .../com/facebook/flipper/core/FlipperClient.java | 9 ++++----- .../facebook/flipper/core/FlipperConnection.java | 9 ++++----- .../facebook/flipper/core/FlipperDynamic.java | 9 ++++----- .../com/facebook/flipper/core/FlipperObject.java | 9 ++++----- .../com/facebook/flipper/core/FlipperPlugin.java | 9 ++++----- .../facebook/flipper/core/FlipperReceiver.java | 9 ++++----- .../facebook/flipper/core/FlipperResponder.java | 9 ++++----- .../flipper/core/FlipperStateUpdateListener.java | 7 +++---- .../com/facebook/flipper/core/FlipperValue.java | 9 ++++----- .../com/facebook/flipper/core/StateElement.java | 7 +++---- .../com/facebook/flipper/core/StateSummary.java | 7 +++---- .../flipper/nativeplugins/NativePlugin.java | 7 +++---- .../nativeplugins/NativePluginRegistry.java | 7 +++---- .../flipper/nativeplugins/RawNativePlugin.java | 7 +++---- .../nativeplugins/components/JsonSection.java | 7 +++---- .../nativeplugins/components/Sidebar.java | 7 +++---- .../nativeplugins/components/ToolbarSection.java | 7 +++---- .../nativeplugins/components/UISection.java | 7 +++---- .../flipper/nativeplugins/table/Column.java | 7 +++---- .../table/QueryableTableRowProvider.java | 7 +++---- .../nativeplugins/table/TableMetadata.java | 7 +++---- .../flipper/nativeplugins/table/TablePlugin.java | 7 +++---- .../flipper/nativeplugins/table/TableRow.java | 7 +++---- .../nativeplugins/table/TableRowDisplay.java | 7 +++---- .../nativeplugins/table/TableRowDisplayImpl.java | 7 +++---- .../plugins/common/BufferingFlipperPlugin.java | 9 ++++----- .../common/MainThreadFlipperReceiver.java | 9 ++++----- .../flipper/plugins/common/RingBuffer.java | 9 ++++----- .../plugins/console/ConsoleFlipperPlugin.java | 9 ++++----- .../plugins/console/JavascriptEnvironment.java | 9 ++++----- .../plugins/console/JavascriptSession.java | 9 ++++----- .../console/iface/ConsoleCommandReceiver.java | 9 ++++----- .../console/iface/NullScriptingEnvironment.java | 9 ++++----- .../console/iface/ScriptingEnvironment.java | 9 ++++----- .../plugins/console/iface/ScriptingSession.java | 9 ++++----- .../fresco/FrescoFlipperDebugPrefHelper.java | 8 ++++++-- .../fresco/FrescoFlipperRequestListener.java | 10 ++++------ .../fresco/objecthelper/FlipperObjectHelper.java | 9 ++++----- .../plugins/inspector/ApplicationWrapper.java | 10 ++++------ .../plugins/inspector/BoundsDrawable.java | 10 ++++------ .../plugins/inspector/DescriptorMapping.java | 10 ++++------ .../flipper/plugins/inspector/HiddenNode.java | 10 ++++------ .../plugins/inspector/HighlightedOverlay.java | 10 ++++------ .../inspector/InspectorFlipperPlugin.java | 10 ++++------ .../plugins/inspector/InspectorValue.java | 10 ++++------ .../flipper/plugins/inspector/LinesDrawable.java | 10 ++++------ .../flipper/plugins/inspector/Named.java | 10 ++++------ .../plugins/inspector/NodeDescriptor.java | 10 ++++------ .../flipper/plugins/inspector/ObjectTracker.java | 10 ++++------ .../plugins/inspector/SearchResultNode.java | 10 ++++------ .../inspector/SelfRegisteringNodeDescriptor.java | 10 ++++------ .../flipper/plugins/inspector/Touch.java | 10 ++++------ .../descriptors/ActivityDescriptor.java | 10 ++++------ .../descriptors/ApplicationDescriptor.java | 10 ++++------ .../inspector/descriptors/DialogDescriptor.java | 10 ++++------ .../descriptors/DialogFragmentDescriptor.java | 10 ++++------ .../descriptors/DrawableDescriptor.java | 10 ++++------ .../descriptors/FragmentDescriptor.java | 10 ++++------ .../inspector/descriptors/ObjectDescriptor.java | 10 ++++------ .../SupportDialogFragmentDescriptor.java | 10 ++++------ .../descriptors/SupportFragmentDescriptor.java | 10 ++++------ .../descriptors/TextViewDescriptor.java | 10 ++++------ .../descriptors/ViewGroupDescriptor.java | 10 ++++------ .../inspector/descriptors/WindowDescriptor.java | 10 ++++------ .../utils/AccessibilityEvaluationUtil.java | 9 ++++----- .../descriptors/utils/AccessibilityRoleUtil.java | 4 ++-- .../descriptors/utils/AndroidRootResolver.java | 10 ++++------ .../inspector/descriptors/utils/EnumMapping.java | 10 ++++------ .../utils/ViewAccessibilityHelper.java | 10 ++++------ .../leakcanary/LeakCanaryFlipperPlugin.java | 10 ++++------ .../plugins/leakcanary/RecordLeakService.java | 9 ++++----- .../flipper/plugins/litho/DataUtils.java | 7 +++---- .../plugins/litho/DebugComponentDescriptor.java | 9 ++++----- .../plugins/litho/DebugSectionDescriptor.java | 4 ++-- ...LithoAccessibilityRenderExtensionCommand.java | 9 ++++----- .../plugins/litho/LithoFlipperDescriptors.java | 4 ++-- .../litho/LithoRecyclerViewDescriptor.java | 4 ++-- .../plugins/litho/LithoViewDescriptor.java | 8 ++++++-- .../plugins/litho/PropWithDescription.java | 8 ++++++-- .../network/FlipperOkhttpInterceptor.java | 9 ++++----- .../plugins/network/NetworkFlipperPlugin.java | 10 ++++------ .../flipper/plugins/network/NetworkReporter.java | 10 ++++------ .../network/NetworkResponseFormatter.java | 10 ++++------ .../plugins/react/ReactFlipperPlugin.java | 9 ++++----- .../plugins/sandbox/SandboxFlipperPlugin.java | 9 ++++----- .../sandbox/SandboxFlipperPluginStrategy.java | 9 ++++----- .../SharedPreferencesFlipperPlugin.java | 10 ++++------ .../flipper/testing/FlipperConnectionMock.java | 9 ++++----- .../flipper/testing/FlipperResponderMock.java | 9 ++++----- android/src/main/res/values/ids.xml | 4 ++-- .../flipper/android/FlipperPropsTest.java | 4 ++-- .../nativeplugins/table/MockTablePlugin.java | 7 +++---- .../nativeplugins/table/MockTableRow.java | 7 +++---- .../table/TableMetadataTestUtils.java | 7 +++---- .../table/TableRowDisplayImplTest.java | 7 +++---- .../common/MainThreadFlipperReceiverTest.java | 9 ++++----- .../plugins/console/ConsoleSonarPluginTest.java | 9 ++++----- .../plugins/console/JavascriptSessionTest.java | 9 ++++----- .../inspector/ApplicationWrapperTest.java | 9 ++++----- .../plugins/inspector/DescriptorMappingTest.java | 9 ++++----- .../inspector/InspectorFlipperPluginTest.java | 9 ++++----- .../inspector/ThrowableMessageMatcher.java | 7 +++---- .../descriptors/ViewGroupDescriptorTest.java | 9 ++++----- android/third-party/AndroidManifest.xml | 4 ++-- android/third-party/build.gradle | 4 ++-- android/third-party/native.gradle | 4 ++-- .../DoubleConversion/ApplicationManifest.xml | 4 ++-- .../overrides/DoubleConversion/build.gradle | 4 ++-- .../overrides/Folly/ApplicationManifest.xml | 4 ++-- android/third-party/overrides/Folly/build.gradle | 4 ++-- .../overrides/LibEvent/ApplicationManifest.xml | 4 ++-- .../third-party/overrides/LibEvent/build.gradle | 4 ++-- .../overrides/OpenSSL/ApplicationManifest.xml | 4 ++-- .../third-party/overrides/OpenSSL/build.gradle | 4 ++-- .../overrides/RSocket/ApplicationManifest.xml | 4 ++-- .../third-party/overrides/RSocket/build.gradle | 4 ++-- .../overrides/glog/ApplicationManifest.xml | 4 ++-- android/third-party/overrides/glog/build.gradle | 4 ++-- android/tutorial/build.gradle | 4 ++-- android/tutorial/src/main/AndroidManifest.xml | 4 ++-- .../flipper/sample/tutorial/MainActivity.kt | 4 ++-- .../flipper/sample/tutorial/MarineMammal.kt | 4 ++-- .../flipper/sample/tutorial/MarineMammals.kt | 3 +-- .../sample/tutorial/TutorialApplication.kt | 4 ++-- .../tutorial/plugin/SeaMammalFlipperPlugin.kt | 3 +-- .../sample/tutorial/ui/FeedItemCardSpec.kt | 4 ++-- .../sample/tutorial/ui/FeedSectionSpec.kt | 4 ++-- .../tutorial/ui/MarineMammelComponentSpec.kt | 4 ++-- .../sample/tutorial/ui/RootComponentSpec.kt | 4 ++-- .../tutorial/ui/SingleImageComponentSpec.kt | 4 ++-- .../res/drawable-v24/ic_launcher_foreground.xml | 4 ++-- .../main/res/drawable/ic_launcher_background.xml | 4 ++-- .../main/res/mipmap-anydpi-v26/ic_launcher.xml | 4 ++-- .../res/mipmap-anydpi-v26/ic_launcher_round.xml | 4 ++-- android/tutorial/src/main/res/values/colors.xml | 4 ++-- android/tutorial/src/main/res/values/strings.xml | 4 ++-- android/tutorial/src/main/res/values/styles.xml | 4 ++-- .../flipper/sample/tutorial/ExampleUnitTest.kt | 4 ++-- gradle/android-maven-install.gradle | 15 +++------------ gradle/android-tasks.gradle | 15 +++------------ gradle/bintray.gradle | 15 +++------------ gradle/gradle-mvn-push.gradle | 16 +++------------- gradle/release-bintray.gradle | 15 +++------------ gradle/release.gradle | 15 +++------------ gradle/wrapper/gradle-wrapper.properties | 6 ++++-- xplat/AndroidManifest.xml | 4 ++-- xplat/build.gradle | 4 ++-- 189 files changed, 632 insertions(+), 842 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 649e65282..a1d14b9f0 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,7 +1,9 @@ -// 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. +/* + * 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: 'maven' diff --git a/android/gradle.properties b/android/gradle.properties index 1bc7597f4..b53bb5b75 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,17 +1,8 @@ # -# Copyright 2014-present Facebook, Inc. +# Copyright (c) Facebook, Inc. and its affiliates. # -# 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. +# This source code is licensed under the MIT license found in the LICENSE +# file in the root directory of this source tree. # POM_NAME=Flipper diff --git a/android/no-op/build.gradle b/android/no-op/build.gradle index 7781a358f..5e3b3a690 100644 --- a/android/no-op/build.gradle +++ b/android/no-op/build.gradle @@ -1,7 +1,9 @@ -// 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. +/* + * 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: 'maven' diff --git a/android/no-op/gradle.properties b/android/no-op/gradle.properties index 81e507267..be770e756 100644 --- a/android/no-op/gradle.properties +++ b/android/no-op/gradle.properties @@ -1,17 +1,8 @@ # -# Copyright 2014-present Facebook, Inc. +# Copyright (c) Facebook, Inc. and its affiliates. # -# 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. +# This source code is licensed under the MIT license found in the LICENSE +# file in the root directory of this source tree. # POM_NAME=Flipper NoOp diff --git a/android/no-op/src/main/AndroidManifest.xml b/android/no-op/src/main/AndroidManifest.xml index 8c27deb7f..0452201f6 100644 --- a/android/no-op/src/main/AndroidManifest.xml +++ b/android/no-op/src/main/AndroidManifest.xml @@ -2,8 +2,8 @@ This source code is licensed under the MIT license found in the LICENSE file in the root - * directory of this source tree. + * 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.sample; diff --git a/android/sample/src/main/java/com/facebook/flipper/sample/MainActivity.java b/android/sample/src/main/java/com/facebook/flipper/sample/MainActivity.java index 1ac6a43f1..4274703f5 100644 --- a/android/sample/src/main/java/com/facebook/flipper/sample/MainActivity.java +++ b/android/sample/src/main/java/com/facebook/flipper/sample/MainActivity.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.sample; diff --git a/android/sample/src/main/java/com/facebook/flipper/sample/RootComponentSpec.java b/android/sample/src/main/java/com/facebook/flipper/sample/RootComponentSpec.java index 3f77c1f83..971482bb9 100644 --- a/android/sample/src/main/java/com/facebook/flipper/sample/RootComponentSpec.java +++ b/android/sample/src/main/java/com/facebook/flipper/sample/RootComponentSpec.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.sample; diff --git a/android/sample/src/main/java/com/facebook/flipper/sample/network/NetworkClient.java b/android/sample/src/main/java/com/facebook/flipper/sample/network/NetworkClient.java index ac81fe2bf..095348db6 100644 --- a/android/sample/src/main/java/com/facebook/flipper/sample/network/NetworkClient.java +++ b/android/sample/src/main/java/com/facebook/flipper/sample/network/NetworkClient.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.sample.network; diff --git a/android/sample/src/main/res/values/strings.xml b/android/sample/src/main/res/values/strings.xml index 70ee09a96..91290072d 100644 --- a/android/sample/src/main/res/values/strings.xml +++ b/android/sample/src/main/res/values/strings.xml @@ -3,8 +3,8 @@ diff --git a/android/sample/src/main/res/values/styles.xml b/android/sample/src/main/res/values/styles.xml index ed8febe02..44c5f53da 100644 --- a/android/sample/src/main/res/values/styles.xml +++ b/android/sample/src/main/res/values/styles.xml @@ -3,8 +3,8 @@ diff --git a/android/sample/src/test/java/com/facebook/flipper/plugins/example/ExampleFlipperPluginTest.java b/android/sample/src/test/java/com/facebook/flipper/plugins/example/ExampleFlipperPluginTest.java index bed66aea0..1722a2bf3 100644 --- a/android/sample/src/test/java/com/facebook/flipper/plugins/example/ExampleFlipperPluginTest.java +++ b/android/sample/src/test/java/com/facebook/flipper/plugins/example/ExampleFlipperPluginTest.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.example; diff --git a/android/sample/src/test/java/com/facebook/flipper/plugins/example/TestApplication.java b/android/sample/src/test/java/com/facebook/flipper/plugins/example/TestApplication.java index d7dd43390..15f3d2069 100644 --- a/android/sample/src/test/java/com/facebook/flipper/plugins/example/TestApplication.java +++ b/android/sample/src/test/java/com/facebook/flipper/plugins/example/TestApplication.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.example; diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index 8c27deb7f..0452201f6 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -2,8 +2,8 @@ This source code is licensed under the MIT license found in the LICENSE file in the root - * directory of this source tree. + * 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; diff --git a/android/src/main/java/com/facebook/flipper/android/FlipperConnectionImpl.java b/android/src/main/java/com/facebook/flipper/android/FlipperConnectionImpl.java index 28159133f..b9f80cd27 100644 --- a/android/src/main/java/com/facebook/flipper/android/FlipperConnectionImpl.java +++ b/android/src/main/java/com/facebook/flipper/android/FlipperConnectionImpl.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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; diff --git a/android/src/main/java/com/facebook/flipper/android/FlipperResponderImpl.java b/android/src/main/java/com/facebook/flipper/android/FlipperResponderImpl.java index 5aa56eaaa..b73ac254f 100644 --- a/android/src/main/java/com/facebook/flipper/android/FlipperResponderImpl.java +++ b/android/src/main/java/com/facebook/flipper/android/FlipperResponderImpl.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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; diff --git a/android/src/main/java/com/facebook/flipper/android/FlipperThread.java b/android/src/main/java/com/facebook/flipper/android/FlipperThread.java index 4d3d298b4..ba029f2ba 100644 --- a/android/src/main/java/com/facebook/flipper/android/FlipperThread.java +++ b/android/src/main/java/com/facebook/flipper/android/FlipperThread.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2004-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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; diff --git a/android/src/main/java/com/facebook/flipper/android/diagnostics/FlipperDiagnosticActivity.java b/android/src/main/java/com/facebook/flipper/android/diagnostics/FlipperDiagnosticActivity.java index 01fd7fc36..e7b51fe4b 100644 --- a/android/src/main/java/com/facebook/flipper/android/diagnostics/FlipperDiagnosticActivity.java +++ b/android/src/main/java/com/facebook/flipper/android/diagnostics/FlipperDiagnosticActivity.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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; diff --git a/android/src/main/java/com/facebook/flipper/android/diagnostics/FlipperDiagnosticFragment.java b/android/src/main/java/com/facebook/flipper/android/diagnostics/FlipperDiagnosticFragment.java index 06db7714b..c4a6cc27d 100644 --- a/android/src/main/java/com/facebook/flipper/android/diagnostics/FlipperDiagnosticFragment.java +++ b/android/src/main/java/com/facebook/flipper/android/diagnostics/FlipperDiagnosticFragment.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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; diff --git a/android/src/main/java/com/facebook/flipper/android/diagnostics/FlipperDiagnosticReportListener.java b/android/src/main/java/com/facebook/flipper/android/diagnostics/FlipperDiagnosticReportListener.java index 4c4fc1265..a80661207 100644 --- a/android/src/main/java/com/facebook/flipper/android/diagnostics/FlipperDiagnosticReportListener.java +++ b/android/src/main/java/com/facebook/flipper/android/diagnostics/FlipperDiagnosticReportListener.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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; diff --git a/android/src/main/java/com/facebook/flipper/android/diagnostics/FlipperDiagnosticSummaryTextFilter.java b/android/src/main/java/com/facebook/flipper/android/diagnostics/FlipperDiagnosticSummaryTextFilter.java index c5b51e337..b1ee87af2 100644 --- a/android/src/main/java/com/facebook/flipper/android/diagnostics/FlipperDiagnosticSummaryTextFilter.java +++ b/android/src/main/java/com/facebook/flipper/android/diagnostics/FlipperDiagnosticSummaryTextFilter.java @@ -1,10 +1,9 @@ -/* +/** * 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. + * 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 { diff --git a/android/src/main/java/com/facebook/flipper/android/diagnostics/diagnostics.xml b/android/src/main/java/com/facebook/flipper/android/diagnostics/diagnostics.xml index b6ce1965f..3ce1283a7 100644 --- a/android/src/main/java/com/facebook/flipper/android/diagnostics/diagnostics.xml +++ b/android/src/main/java/com/facebook/flipper/android/diagnostics/diagnostics.xml @@ -2,8 +2,8 @@ { diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/NodeDescriptor.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/NodeDescriptor.java index c62e09e50..cc6a3455e 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/NodeDescriptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/NodeDescriptor.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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 androidx.annotation.Nullable; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/ObjectTracker.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/ObjectTracker.java index 328a48cb9..141a56e9b 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/ObjectTracker.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/ObjectTracker.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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 java.lang.ref.SoftReference; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/SearchResultNode.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/SearchResultNode.java index 840bc9e46..5a6727e08 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/SearchResultNode.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/SearchResultNode.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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 androidx.annotation.Nullable; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/SelfRegisteringNodeDescriptor.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/SelfRegisteringNodeDescriptor.java index d2e7408cd..4fb789810 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/SelfRegisteringNodeDescriptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/SelfRegisteringNodeDescriptor.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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; public abstract class SelfRegisteringNodeDescriptor extends NodeDescriptor { diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/Touch.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/Touch.java index 77e70d362..a50af677a 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/Touch.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/Touch.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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; /** diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/ActivityDescriptor.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/ActivityDescriptor.java index 8af7f98e3..6ee5deb0c 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/ActivityDescriptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/ActivityDescriptor.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.descriptors; import android.app.Activity; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/ApplicationDescriptor.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/ApplicationDescriptor.java index 620125436..387298210 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/ApplicationDescriptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/ApplicationDescriptor.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.descriptors; import android.app.Activity; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/DialogDescriptor.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/DialogDescriptor.java index 076a6ed15..2e2265c0d 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/DialogDescriptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/DialogDescriptor.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.descriptors; import android.app.Dialog; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/DialogFragmentDescriptor.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/DialogFragmentDescriptor.java index 3fc090deb..37fd89c90 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/DialogFragmentDescriptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/DialogFragmentDescriptor.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.descriptors; import android.app.Dialog; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/DrawableDescriptor.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/DrawableDescriptor.java index 929ce2247..416ac54e6 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/DrawableDescriptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/DrawableDescriptor.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.descriptors; import android.graphics.Rect; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/FragmentDescriptor.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/FragmentDescriptor.java index 429f629d2..3410b92ac 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/FragmentDescriptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/FragmentDescriptor.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.descriptors; import android.app.Fragment; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/ObjectDescriptor.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/ObjectDescriptor.java index 12b478542..95df03f54 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/ObjectDescriptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/ObjectDescriptor.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.descriptors; import com.facebook.flipper.core.FlipperDynamic; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/SupportDialogFragmentDescriptor.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/SupportDialogFragmentDescriptor.java index 156f92cf9..0593bf648 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/SupportDialogFragmentDescriptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/SupportDialogFragmentDescriptor.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.descriptors; import android.app.Dialog; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/SupportFragmentDescriptor.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/SupportFragmentDescriptor.java index 103408e54..d695c2216 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/SupportFragmentDescriptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/SupportFragmentDescriptor.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.descriptors; import android.os.Bundle; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/TextViewDescriptor.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/TextViewDescriptor.java index 945b59c05..da15dc741 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/TextViewDescriptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/TextViewDescriptor.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.descriptors; import static com.facebook.flipper.plugins.inspector.InspectorValue.Type.Color; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/ViewGroupDescriptor.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/ViewGroupDescriptor.java index f12de21f9..621b69a96 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/ViewGroupDescriptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/ViewGroupDescriptor.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.descriptors; import static androidx.core.view.ViewGroupCompat.LAYOUT_MODE_CLIP_BOUNDS; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/WindowDescriptor.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/WindowDescriptor.java index e04a11812..35cadb02b 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/WindowDescriptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/WindowDescriptor.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.descriptors; import android.view.View; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/AccessibilityEvaluationUtil.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/AccessibilityEvaluationUtil.java index 19f2a4fbc..062e0f3d8 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/AccessibilityEvaluationUtil.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/AccessibilityEvaluationUtil.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.descriptors.utils; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/AccessibilityRoleUtil.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/AccessibilityRoleUtil.java index e8f32c4a0..c52d24f99 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/AccessibilityRoleUtil.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/AccessibilityRoleUtil.java @@ -1,8 +1,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. + * 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.descriptors.utils; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/AndroidRootResolver.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/AndroidRootResolver.java index 2c2a5dec9..f922cad18 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/AndroidRootResolver.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/AndroidRootResolver.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.descriptors.utils; import static android.view.WindowManager.LayoutParams; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/EnumMapping.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/EnumMapping.java index 0021d2c28..86168f19e 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/EnumMapping.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/EnumMapping.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.descriptors.utils; import static com.facebook.flipper.plugins.inspector.InspectorValue.Type.Enum; diff --git a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/ViewAccessibilityHelper.java b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/ViewAccessibilityHelper.java index 36df0c000..1e869a01c 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/ViewAccessibilityHelper.java +++ b/android/src/main/java/com/facebook/flipper/plugins/inspector/descriptors/utils/ViewAccessibilityHelper.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.descriptors.utils; import android.view.View; diff --git a/android/src/main/java/com/facebook/flipper/plugins/leakcanary/LeakCanaryFlipperPlugin.java b/android/src/main/java/com/facebook/flipper/plugins/leakcanary/LeakCanaryFlipperPlugin.java index 1c83b651a..d848d1282 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/leakcanary/LeakCanaryFlipperPlugin.java +++ b/android/src/main/java/com/facebook/flipper/plugins/leakcanary/LeakCanaryFlipperPlugin.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.leakcanary; import android.util.Log; diff --git a/android/src/main/java/com/facebook/flipper/plugins/leakcanary/RecordLeakService.java b/android/src/main/java/com/facebook/flipper/plugins/leakcanary/RecordLeakService.java index 27d9a415a..1a0ed3035 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/leakcanary/RecordLeakService.java +++ b/android/src/main/java/com/facebook/flipper/plugins/leakcanary/RecordLeakService.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.leakcanary; diff --git a/android/src/main/java/com/facebook/flipper/plugins/litho/DataUtils.java b/android/src/main/java/com/facebook/flipper/plugins/litho/DataUtils.java index 39b908b9b..72747d16b 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/litho/DataUtils.java +++ b/android/src/main/java/com/facebook/flipper/plugins/litho/DataUtils.java @@ -1,10 +1,9 @@ -/* +/** * 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. + * 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; diff --git a/android/src/main/java/com/facebook/flipper/plugins/litho/DebugComponentDescriptor.java b/android/src/main/java/com/facebook/flipper/plugins/litho/DebugComponentDescriptor.java index ba83a9136..13a56a67c 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/litho/DebugComponentDescriptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/litho/DebugComponentDescriptor.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2004-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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; diff --git a/android/src/main/java/com/facebook/flipper/plugins/litho/DebugSectionDescriptor.java b/android/src/main/java/com/facebook/flipper/plugins/litho/DebugSectionDescriptor.java index 3084ed1b9..464c32dbb 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/litho/DebugSectionDescriptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/litho/DebugSectionDescriptor.java @@ -1,8 +1,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. + * 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; diff --git a/android/src/main/java/com/facebook/flipper/plugins/litho/GenerateLithoAccessibilityRenderExtensionCommand.java b/android/src/main/java/com/facebook/flipper/plugins/litho/GenerateLithoAccessibilityRenderExtensionCommand.java index 4d8c28d46..42b53e1e1 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/litho/GenerateLithoAccessibilityRenderExtensionCommand.java +++ b/android/src/main/java/com/facebook/flipper/plugins/litho/GenerateLithoAccessibilityRenderExtensionCommand.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2004-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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; diff --git a/android/src/main/java/com/facebook/flipper/plugins/litho/LithoFlipperDescriptors.java b/android/src/main/java/com/facebook/flipper/plugins/litho/LithoFlipperDescriptors.java index 80d67470f..4bf462a55 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/litho/LithoFlipperDescriptors.java +++ b/android/src/main/java/com/facebook/flipper/plugins/litho/LithoFlipperDescriptors.java @@ -1,8 +1,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. + * 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; diff --git a/android/src/main/java/com/facebook/flipper/plugins/litho/LithoRecyclerViewDescriptor.java b/android/src/main/java/com/facebook/flipper/plugins/litho/LithoRecyclerViewDescriptor.java index 8c54cfe54..49edcb1f9 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/litho/LithoRecyclerViewDescriptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/litho/LithoRecyclerViewDescriptor.java @@ -1,8 +1,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. + * 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; diff --git a/android/src/main/java/com/facebook/flipper/plugins/litho/LithoViewDescriptor.java b/android/src/main/java/com/facebook/flipper/plugins/litho/LithoViewDescriptor.java index cb1eb3eae..3508fce59 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/litho/LithoViewDescriptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/litho/LithoViewDescriptor.java @@ -1,5 +1,9 @@ -// Copyright 2004-present Facebook. All Rights Reserved. - +/** + * 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 android.graphics.Rect; diff --git a/android/src/main/java/com/facebook/flipper/plugins/litho/PropWithDescription.java b/android/src/main/java/com/facebook/flipper/plugins/litho/PropWithDescription.java index ee2796289..81c978f62 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/litho/PropWithDescription.java +++ b/android/src/main/java/com/facebook/flipper/plugins/litho/PropWithDescription.java @@ -1,5 +1,9 @@ -// Copyright 2004-present Facebook. All Rights Reserved. - +/** + * 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; public interface PropWithDescription { diff --git a/android/src/main/java/com/facebook/flipper/plugins/network/FlipperOkhttpInterceptor.java b/android/src/main/java/com/facebook/flipper/plugins/network/FlipperOkhttpInterceptor.java index def3d7ef9..046530f99 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/network/FlipperOkhttpInterceptor.java +++ b/android/src/main/java/com/facebook/flipper/plugins/network/FlipperOkhttpInterceptor.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2004-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.network; diff --git a/android/src/main/java/com/facebook/flipper/plugins/network/NetworkFlipperPlugin.java b/android/src/main/java/com/facebook/flipper/plugins/network/NetworkFlipperPlugin.java index 401f60e91..1e6efe517 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/network/NetworkFlipperPlugin.java +++ b/android/src/main/java/com/facebook/flipper/plugins/network/NetworkFlipperPlugin.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.network; import android.util.Base64; diff --git a/android/src/main/java/com/facebook/flipper/plugins/network/NetworkReporter.java b/android/src/main/java/com/facebook/flipper/plugins/network/NetworkReporter.java index 8665750e9..e27f6cdcf 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/network/NetworkReporter.java +++ b/android/src/main/java/com/facebook/flipper/plugins/network/NetworkReporter.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.network; import java.util.ArrayList; diff --git a/android/src/main/java/com/facebook/flipper/plugins/network/NetworkResponseFormatter.java b/android/src/main/java/com/facebook/flipper/plugins/network/NetworkResponseFormatter.java index 8ca86ed64..9a4114ef8 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/network/NetworkResponseFormatter.java +++ b/android/src/main/java/com/facebook/flipper/plugins/network/NetworkResponseFormatter.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.network; import com.facebook.flipper.plugins.network.NetworkReporter.ResponseInfo; diff --git a/android/src/main/java/com/facebook/flipper/plugins/react/ReactFlipperPlugin.java b/android/src/main/java/com/facebook/flipper/plugins/react/ReactFlipperPlugin.java index 2a9ddc371..a3bc0c383 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/react/ReactFlipperPlugin.java +++ b/android/src/main/java/com/facebook/flipper/plugins/react/ReactFlipperPlugin.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.react; diff --git a/android/src/main/java/com/facebook/flipper/plugins/sandbox/SandboxFlipperPlugin.java b/android/src/main/java/com/facebook/flipper/plugins/sandbox/SandboxFlipperPlugin.java index ce34a5202..cf967835e 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/sandbox/SandboxFlipperPlugin.java +++ b/android/src/main/java/com/facebook/flipper/plugins/sandbox/SandboxFlipperPlugin.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2004-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.sandbox; diff --git a/android/src/main/java/com/facebook/flipper/plugins/sandbox/SandboxFlipperPluginStrategy.java b/android/src/main/java/com/facebook/flipper/plugins/sandbox/SandboxFlipperPluginStrategy.java index 27082e385..421d659e6 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/sandbox/SandboxFlipperPluginStrategy.java +++ b/android/src/main/java/com/facebook/flipper/plugins/sandbox/SandboxFlipperPluginStrategy.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2004-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.sandbox; diff --git a/android/src/main/java/com/facebook/flipper/plugins/sharedpreferences/SharedPreferencesFlipperPlugin.java b/android/src/main/java/com/facebook/flipper/plugins/sharedpreferences/SharedPreferencesFlipperPlugin.java index d7d2fbe4f..638f87eaa 100644 --- a/android/src/main/java/com/facebook/flipper/plugins/sharedpreferences/SharedPreferencesFlipperPlugin.java +++ b/android/src/main/java/com/facebook/flipper/plugins/sharedpreferences/SharedPreferencesFlipperPlugin.java @@ -1,11 +1,9 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.sharedpreferences; import static android.content.Context.MODE_PRIVATE; diff --git a/android/src/main/java/com/facebook/flipper/testing/FlipperConnectionMock.java b/android/src/main/java/com/facebook/flipper/testing/FlipperConnectionMock.java index 6dc6dbf53..eba9f3699 100644 --- a/android/src/main/java/com/facebook/flipper/testing/FlipperConnectionMock.java +++ b/android/src/main/java/com/facebook/flipper/testing/FlipperConnectionMock.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.testing; diff --git a/android/src/main/java/com/facebook/flipper/testing/FlipperResponderMock.java b/android/src/main/java/com/facebook/flipper/testing/FlipperResponderMock.java index b712a33da..28bb33799 100644 --- a/android/src/main/java/com/facebook/flipper/testing/FlipperResponderMock.java +++ b/android/src/main/java/com/facebook/flipper/testing/FlipperResponderMock.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.testing; diff --git a/android/src/main/res/values/ids.xml b/android/src/main/res/values/ids.xml index 07061cecc..bb4488b57 100644 --- a/android/src/main/res/values/ids.xml +++ b/android/src/main/res/values/ids.xml @@ -2,8 +2,8 @@ diff --git a/android/src/test/java/com/facebook/flipper/android/FlipperPropsTest.java b/android/src/test/java/com/facebook/flipper/android/FlipperPropsTest.java index d6fbc4310..1f487959e 100644 --- a/android/src/test/java/com/facebook/flipper/android/FlipperPropsTest.java +++ b/android/src/test/java/com/facebook/flipper/android/FlipperPropsTest.java @@ -1,8 +1,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. + * 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; diff --git a/android/src/test/java/com/facebook/flipper/nativeplugins/table/MockTablePlugin.java b/android/src/test/java/com/facebook/flipper/nativeplugins/table/MockTablePlugin.java index c272b295f..6d0ecd5cb 100644 --- a/android/src/test/java/com/facebook/flipper/nativeplugins/table/MockTablePlugin.java +++ b/android/src/test/java/com/facebook/flipper/nativeplugins/table/MockTablePlugin.java @@ -1,10 +1,9 @@ -/* +/** * 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. + * 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 { diff --git a/android/src/test/java/com/facebook/flipper/nativeplugins/table/MockTableRow.java b/android/src/test/java/com/facebook/flipper/nativeplugins/table/MockTableRow.java index 91dab995a..4eb9d1825 100644 --- a/android/src/test/java/com/facebook/flipper/nativeplugins/table/MockTableRow.java +++ b/android/src/test/java/com/facebook/flipper/nativeplugins/table/MockTableRow.java @@ -1,10 +1,9 @@ -/* +/** * 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. + * 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; diff --git a/android/src/test/java/com/facebook/flipper/nativeplugins/table/TableMetadataTestUtils.java b/android/src/test/java/com/facebook/flipper/nativeplugins/table/TableMetadataTestUtils.java index 980d3344a..dcbf074a2 100644 --- a/android/src/test/java/com/facebook/flipper/nativeplugins/table/TableMetadataTestUtils.java +++ b/android/src/test/java/com/facebook/flipper/nativeplugins/table/TableMetadataTestUtils.java @@ -1,10 +1,9 @@ -/* +/** * 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. + * 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 { diff --git a/android/src/test/java/com/facebook/flipper/nativeplugins/table/TableRowDisplayImplTest.java b/android/src/test/java/com/facebook/flipper/nativeplugins/table/TableRowDisplayImplTest.java index 2b5c6728e..50014b22a 100644 --- a/android/src/test/java/com/facebook/flipper/nativeplugins/table/TableRowDisplayImplTest.java +++ b/android/src/test/java/com/facebook/flipper/nativeplugins/table/TableRowDisplayImplTest.java @@ -1,10 +1,9 @@ -/* +/** * 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. + * 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; diff --git a/android/src/test/java/com/facebook/flipper/plugins/common/MainThreadFlipperReceiverTest.java b/android/src/test/java/com/facebook/flipper/plugins/common/MainThreadFlipperReceiverTest.java index e3b62a9a7..4944903e2 100644 --- a/android/src/test/java/com/facebook/flipper/plugins/common/MainThreadFlipperReceiverTest.java +++ b/android/src/test/java/com/facebook/flipper/plugins/common/MainThreadFlipperReceiverTest.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.common; diff --git a/android/src/test/java/com/facebook/flipper/plugins/console/ConsoleSonarPluginTest.java b/android/src/test/java/com/facebook/flipper/plugins/console/ConsoleSonarPluginTest.java index ded4f9d36..a392c5d5d 100644 --- a/android/src/test/java/com/facebook/flipper/plugins/console/ConsoleSonarPluginTest.java +++ b/android/src/test/java/com/facebook/flipper/plugins/console/ConsoleSonarPluginTest.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.console; diff --git a/android/src/test/java/com/facebook/flipper/plugins/console/JavascriptSessionTest.java b/android/src/test/java/com/facebook/flipper/plugins/console/JavascriptSessionTest.java index 0781c971f..0e9b71622 100644 --- a/android/src/test/java/com/facebook/flipper/plugins/console/JavascriptSessionTest.java +++ b/android/src/test/java/com/facebook/flipper/plugins/console/JavascriptSessionTest.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.console; diff --git a/android/src/test/java/com/facebook/flipper/plugins/inspector/ApplicationWrapperTest.java b/android/src/test/java/com/facebook/flipper/plugins/inspector/ApplicationWrapperTest.java index 28a41eb5b..6c41db673 100644 --- a/android/src/test/java/com/facebook/flipper/plugins/inspector/ApplicationWrapperTest.java +++ b/android/src/test/java/com/facebook/flipper/plugins/inspector/ApplicationWrapperTest.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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; diff --git a/android/src/test/java/com/facebook/flipper/plugins/inspector/DescriptorMappingTest.java b/android/src/test/java/com/facebook/flipper/plugins/inspector/DescriptorMappingTest.java index 16a568926..35cae49cd 100644 --- a/android/src/test/java/com/facebook/flipper/plugins/inspector/DescriptorMappingTest.java +++ b/android/src/test/java/com/facebook/flipper/plugins/inspector/DescriptorMappingTest.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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; diff --git a/android/src/test/java/com/facebook/flipper/plugins/inspector/InspectorFlipperPluginTest.java b/android/src/test/java/com/facebook/flipper/plugins/inspector/InspectorFlipperPluginTest.java index ca653ef81..7cf76e6bc 100644 --- a/android/src/test/java/com/facebook/flipper/plugins/inspector/InspectorFlipperPluginTest.java +++ b/android/src/test/java/com/facebook/flipper/plugins/inspector/InspectorFlipperPluginTest.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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; diff --git a/android/src/test/java/com/facebook/flipper/plugins/inspector/ThrowableMessageMatcher.java b/android/src/test/java/com/facebook/flipper/plugins/inspector/ThrowableMessageMatcher.java index c810ab909..a797f9059 100644 --- a/android/src/test/java/com/facebook/flipper/plugins/inspector/ThrowableMessageMatcher.java +++ b/android/src/test/java/com/facebook/flipper/plugins/inspector/ThrowableMessageMatcher.java @@ -1,10 +1,9 @@ -/* +/** * 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. + * 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; diff --git a/android/src/test/java/com/facebook/flipper/plugins/inspector/descriptors/ViewGroupDescriptorTest.java b/android/src/test/java/com/facebook/flipper/plugins/inspector/descriptors/ViewGroupDescriptorTest.java index 548fd1b13..8c59df6b4 100644 --- a/android/src/test/java/com/facebook/flipper/plugins/inspector/descriptors/ViewGroupDescriptorTest.java +++ b/android/src/test/java/com/facebook/flipper/plugins/inspector/descriptors/ViewGroupDescriptorTest.java @@ -1,9 +1,8 @@ -/* - * Copyright (c) 2018-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. +/** + * 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.descriptors; diff --git a/android/third-party/AndroidManifest.xml b/android/third-party/AndroidManifest.xml index ad49c13c3..c5c16ba7f 100644 --- a/android/third-party/AndroidManifest.xml +++ b/android/third-party/AndroidManifest.xml @@ -2,8 +2,8 @@ diff --git a/android/third-party/build.gradle b/android/third-party/build.gradle index 601e16a5f..379d91dbc 100644 --- a/android/third-party/build.gradle +++ b/android/third-party/build.gradle @@ -1,8 +1,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. + * 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' diff --git a/android/third-party/native.gradle b/android/third-party/native.gradle index 42558a2d7..574a28f16 100644 --- a/android/third-party/native.gradle +++ b/android/third-party/native.gradle @@ -1,8 +1,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. + * 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 diff --git a/android/third-party/overrides/DoubleConversion/ApplicationManifest.xml b/android/third-party/overrides/DoubleConversion/ApplicationManifest.xml index 65d3ce37c..b9fd49b52 100644 --- a/android/third-party/overrides/DoubleConversion/ApplicationManifest.xml +++ b/android/third-party/overrides/DoubleConversion/ApplicationManifest.xml @@ -2,8 +2,8 @@ diff --git a/android/tutorial/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/android/tutorial/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml index 0f788cef8..17a4dd173 100644 --- a/android/tutorial/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/android/tutorial/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -2,8 +2,8 @@ diff --git a/android/tutorial/src/main/res/values/colors.xml b/android/tutorial/src/main/res/values/colors.xml index 42b275a66..33b8a6af7 100644 --- a/android/tutorial/src/main/res/values/colors.xml +++ b/android/tutorial/src/main/res/values/colors.xml @@ -2,8 +2,8 @@ diff --git a/android/tutorial/src/main/res/values/strings.xml b/android/tutorial/src/main/res/values/strings.xml index ca16ffb7b..edfc4b920 100644 --- a/android/tutorial/src/main/res/values/strings.xml +++ b/android/tutorial/src/main/res/values/strings.xml @@ -1,8 +1,8 @@ diff --git a/android/tutorial/src/main/res/values/styles.xml b/android/tutorial/src/main/res/values/styles.xml index 9a5f2b7f4..7642148c0 100644 --- a/android/tutorial/src/main/res/values/styles.xml +++ b/android/tutorial/src/main/res/values/styles.xml @@ -1,8 +1,8 @@ diff --git a/android/tutorial/src/test/java/com/facebook/flipper/sample/tutorial/ExampleUnitTest.kt b/android/tutorial/src/test/java/com/facebook/flipper/sample/tutorial/ExampleUnitTest.kt index 9a75e1043..3d549eab9 100644 --- a/android/tutorial/src/test/java/com/facebook/flipper/sample/tutorial/ExampleUnitTest.kt +++ b/android/tutorial/src/test/java/com/facebook/flipper/sample/tutorial/ExampleUnitTest.kt @@ -1,8 +1,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. + * 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.sample.tutorial diff --git a/gradle/android-maven-install.gradle b/gradle/android-maven-install.gradle index d85d74ccc..c4a5f0f00 100644 --- a/gradle/android-maven-install.gradle +++ b/gradle/android-maven-install.gradle @@ -1,17 +1,8 @@ /* - * Copyright 2014-present Facebook, Inc. + * Copyright (c) Facebook, Inc. and its affiliates. * - * 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. + * This source code is licensed under the MIT license found in the LICENSE + * file in the root directory of this source tree. */ // Configure the Android maven publication diff --git a/gradle/android-tasks.gradle b/gradle/android-tasks.gradle index 7c2de364a..27559f08a 100644 --- a/gradle/android-tasks.gradle +++ b/gradle/android-tasks.gradle @@ -1,17 +1,8 @@ /* - * Copyright 2014-present Facebook, Inc. + * Copyright (c) Facebook, Inc. and its affiliates. * - * 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. + * This source code is licensed under the MIT license found in the LICENSE + * file in the root directory of this source tree. */ import java.nio.file.Files diff --git a/gradle/bintray.gradle b/gradle/bintray.gradle index e32233188..9c5cdd66a 100644 --- a/gradle/bintray.gradle +++ b/gradle/bintray.gradle @@ -1,17 +1,8 @@ /* - * Copyright 2014-present Facebook, Inc. + * Copyright (c) Facebook, Inc. and its affiliates. * - * 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. + * This source code is licensed under the MIT license found in the LICENSE + * file in the root directory of this source tree. */ // Upload to Bintray diff --git a/gradle/gradle-mvn-push.gradle b/gradle/gradle-mvn-push.gradle index 16995bdff..b982c2b70 100644 --- a/gradle/gradle-mvn-push.gradle +++ b/gradle/gradle-mvn-push.gradle @@ -1,18 +1,8 @@ /* - * Copyright 2014-present Facebook, Inc. - * Copyright 2013 Chris Banes + * Copyright (c) Facebook, Inc. and its affiliates. * - * 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. + * This source code is licensed under the MIT license found in the LICENSE + * file in the root directory of this source tree. */ apply plugin: 'signing' diff --git a/gradle/release-bintray.gradle b/gradle/release-bintray.gradle index ea186e0ca..91b1c17a6 100644 --- a/gradle/release-bintray.gradle +++ b/gradle/release-bintray.gradle @@ -1,17 +1,8 @@ /* - * Copyright 2014-present Facebook, Inc. + * Copyright (c) Facebook, Inc. and its affiliates. * - * 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. + * This source code is licensed under the MIT license found in the LICENSE + * file in the root directory of this source tree. */ // Set up everything required for releasing on Bintray diff --git a/gradle/release.gradle b/gradle/release.gradle index 0528caaf8..f1dbd79b1 100644 --- a/gradle/release.gradle +++ b/gradle/release.gradle @@ -1,17 +1,8 @@ /* - * Copyright 2014-present Facebook, Inc. + * Copyright (c) Facebook, Inc. and its affiliates. * - * 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. + * This source code is licensed under the MIT license found in the LICENSE + * file in the root directory of this source tree. */ // Common Android tasks for all releases that generate Javadocs, sources, etc. diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 1d9c8b66c..bfdeec942 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,7 +1,9 @@ +# # 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. +# This source code is licensed under the MIT license found in the LICENSE +# file in the root directory of this source tree. +# distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-5.3.1-all.zip diff --git a/xplat/AndroidManifest.xml b/xplat/AndroidManifest.xml index 316940cfc..93442b7a4 100644 --- a/xplat/AndroidManifest.xml +++ b/xplat/AndroidManifest.xml @@ -2,8 +2,8 @@