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 javax.annotation.Nullable;
* TextEdit}.
*
* <p>This is a "shadowing" view manager, which means that the {@link NativeViewHierarchyManager}
* will NOT manage children of native {@link TextView} instances instanciated by this manager.
* will NOT manage children of native {@link TextView} instances instantiated by this manager.
* Instead we use @{link ReactBaseTextShadowNode} hierarchy to calculate a {@link Spannable} text
* represented the whole text subtree.
*/

View File

@@ -15,7 +15,7 @@ import com.facebook.react.uimanager.events.RCTEventEmitter;
/**
* Represents a click on the toolbar.
* Position is meaningful when the click happenned on a menu
* Position is meaningful when the click happened on a menu
*/
public class ToolbarClickEvent extends Event<ToolbarClickEvent> {

View File

@@ -217,7 +217,7 @@ public class ReactWebViewManager extends SimpleViewManager<WebView> {
/**
* Subclass of {@link WebView} that implements {@link LifecycleEventListener} interface in order
* to call {@link WebView#destroy} on activty destroy event and also to clear the client
* to call {@link WebView#destroy} on activity destroy event and also to clear the client
*/
protected static class ReactWebView extends WebView implements LifecycleEventListener {
protected @Nullable String injectedJS;