mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-03 07:14:59 +08:00
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:
committed by
Facebook Github Bot
parent
ba6075120a
commit
d2f0abdf4e
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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> {
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user