From 44d8da2520dfcf3e0b9549a4497a804bf043955c Mon Sep 17 00:00:00 2001 From: caioagiani Date: Tue, 8 Mar 2022 03:58:58 -0800 Subject: [PATCH] fix: typos (#33040) Summary: Fix typos in: - `Libraries/Renderer/implementations/ReactFabric-dev.js`: transfered -> **transferred** - `Libraries/Renderer/implementations/ReactNativeRenderer-dev.js`: transfered -> **transferred** - `ReactAndroid/src/main/java/com/facebook/react/modules/network/ProgressiveStringDecoder.java`: remainderLenght -> **remainderLength** - `ReactAndroid/src/main/jni/first-party/yogajni/jni/ScopedGlobalRef.h`: Transfering -> **Transferring** - `ReactCommon/react/renderer/graphics/Transform.h`: tranformation -> **transformation** - `packages/rn-tester/js/examples/ToastAndroid/ToastAndroidExample.android.js`: occured -> **occurred** ## Changelog [Internal] [Fixed] - fix typos X-link: https://github.com/facebook/react-native/pull/33040 Reviewed By: cortinico, pasqualeanatriello Differential Revision: D34003812 Pulled By: dmitryrykun fbshipit-source-id: 5c8699f8efcc4354854190a9aade30dbc5c90fdb --- java/jni/ScopedGlobalRef.h | 2 +- java/jni/ScopedLocalRef.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java/jni/ScopedGlobalRef.h b/java/jni/ScopedGlobalRef.h index 4d06a459..e50a5702 100644 --- a/java/jni/ScopedGlobalRef.h +++ b/java/jni/ScopedGlobalRef.h @@ -36,7 +36,7 @@ namespace vanillajni { * This class is very explicit in its behavior, and it does not allow to perform * unexpected conversions or unexpected ownership transfer. In practice, this * class acts as a unique pointer where the underying JNI reference can have one - * and just one owner. Transfering ownership is allowed but it is an explicit + * and just one owner. Transferring ownership is allowed but it is an explicit * operation (implemneted via move semantics and also via explicity API calls). * * Note that this class doesn't receive an explicit JNIEnv at construction time. diff --git a/java/jni/ScopedLocalRef.h b/java/jni/ScopedLocalRef.h index bd046a27..9e127db3 100644 --- a/java/jni/ScopedLocalRef.h +++ b/java/jni/ScopedLocalRef.h @@ -38,7 +38,7 @@ namespace vanillajni { * This class is very explicit in its behavior, and it does not allow to perform * unexpected conversions or unexpected ownership transfer. In practice, this * class acts as a unique pointer where the underying JNI reference can have one - * and just one owner. Transfering ownership is allowed but it is an explicit + * and just one owner. Transferring ownership is allowed but it is an explicit * operation (implemneted via move semantics and also via explicity API calls). * * As with standard JNI local references it is not a valid operation to keep a