Fix Android comment and docblock typos

Summary:
👋 Hello! Thanks for react-native, it’s a great project.

I was digging into the Android implementation in _ReactAndroid_ and noticed a couple typos in the documentation. I went through and tried to fix all the typos I could find using [aspell](http://aspell.net).

Not applicable: these changes are only to comments, and CI should be skipped.

[ANDROID][ENHANCEMENT][*] - Correct comment and docblock typos
Closes https://github.com/facebook/react-native/pull/17049

Differential Revision: D6472182

Pulled By: shergin

fbshipit-source-id: 7e62cab118609596b483d1cf16c3abf651d6753b
This commit is contained in:
Cory Reed
2017-12-03 20:14:00 -08:00
committed by Facebook Github Bot
parent ba6075120a
commit d2f0abdf4e
36 changed files with 37 additions and 37 deletions

View File

@@ -29,7 +29,7 @@ import java.util.Map;
* 3/ {@link ReadableArray} mapped from JS Array
* 4/ {@link ReadableMap} mapped from JS Object
* 5/ {@link Callback} mapped from js function and can be used only as a last parameter or in the
* case when it express success & error callback pair as two last arguments respecively.
* case when it express success & error callback pair as two last arguments respectively.
*
* All methods exposed as native to JS with {@link ReactMethod} annotation must return
* {@code void}.

View File

@@ -10,7 +10,7 @@
package com.facebook.react.bridge;
/**
* Type representing a piece of data with unkown runtime type. Useful for allowing javascript to
* Type representing a piece of data with unknown runtime type. Useful for allowing javascript to
* pass one of multiple types down to the native layer.
*/
public interface Dynamic {

View File

@@ -38,7 +38,7 @@ public abstract class JSBundleLoader {
/**
* This loader loads bundle from file system. The bundle will be read in native code to save on
* passing large strings from java to native memorory.
* passing large strings from java to native memory.
*/
public static JSBundleLoader createFileLoader(final String fileName) {
return createFileLoader(fileName, fileName, false);

View File

@@ -14,7 +14,7 @@ import java.util.Arrays;
import java.util.List;
/**
* Java {@link ArrayList} backed impementation of {@link ReadableArray} and {@link WritableArray}
* Java {@link ArrayList} backed implementation of {@link ReadableArray} and {@link WritableArray}
* Instances of this class SHOULD NOT be used for communication between java and JS, use instances
* of {@link WritableNativeArray} created via {@link Arguments#createArray} or just
* {@link ReadableArray} interface if you want your "native" module method to take an array from JS

View File

@@ -14,7 +14,7 @@ import java.util.Iterator;
import java.util.Map;
/**
* Java {@link HashMap} backed impementation of {@link ReadableMap} and {@link WritableMap}
* Java {@link HashMap} backed implementation of {@link ReadableMap} and {@link WritableMap}
* Instances of this class SHOULD NOT be used for communication between java and JS, use instances
* of {@link WritableNativeMap} created via {@link Arguments#createMap} or just {@link ReadableMap}
* interface if you want your "native" module method to take a map from JS as an argument.

View File

@@ -75,7 +75,7 @@ public class NativeModuleRegistry {
}
/*
* Adds any new modules to the current module regsitry
* Adds any new modules to the current module registry
*/
/* package */ void registerModules(NativeModuleRegistry newRegister) {