mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00: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
@@ -53,7 +53,7 @@ public class FlatUIImplementation extends UIImplementation {
|
||||
|
||||
/**
|
||||
* Build the map of view managers, checking that the managers FlatUI requires are correctly
|
||||
* overriden.
|
||||
* overridden.
|
||||
*/
|
||||
private static Map<String, ViewManager> buildViewManagerMap(List<ViewManager> viewManagers) {
|
||||
Map<String, ViewManager> viewManagerMap = new HashMap<>();
|
||||
@@ -149,7 +149,7 @@ public class FlatUIImplementation extends UIImplementation {
|
||||
if (mRCTImageViewManager != null) {
|
||||
// This is not the best place to initialize DraweeRequestHelper, but order of module
|
||||
// initialization is undefined, and this is pretty much the earliest when we are guarantied
|
||||
// that Fresco is initalized and DraweeControllerBuilder can be queried. This also happens
|
||||
// that Fresco is initialized and DraweeControllerBuilder can be queried. This also happens
|
||||
// relatively rarely to have any performance considerations.
|
||||
mReactContext.getNativeModule(FrescoModule.class); // initialize Fresco
|
||||
DraweeRequestHelper.setDraweeControllerBuilder(
|
||||
|
||||
@@ -26,7 +26,7 @@ import javax.annotation.Nullable;
|
||||
private ReactShadowNode[] mChildren = new ReactShadowNodeImpl[4];
|
||||
|
||||
/**
|
||||
* Retuns size of underlying moveTo/moveFrom arrays
|
||||
* Returns size of underlying moveTo/moveFrom arrays
|
||||
*/
|
||||
public int size() {
|
||||
return mSize;
|
||||
|
||||
@@ -28,7 +28,7 @@ import com.facebook.react.views.image.ImageResizeMode;
|
||||
static Object sCallerContext = RCTImageView.class;
|
||||
|
||||
/**
|
||||
* Assignes a CallerContext to execute network requests with.
|
||||
* Assigns a CallerContext to execute network requests with.
|
||||
*/
|
||||
/* package */ static void setCallerContext(Object callerContext) {
|
||||
sCallerContext = callerContext;
|
||||
|
||||
@@ -226,7 +226,7 @@ import com.facebook.react.uimanager.events.EventDispatcher;
|
||||
}
|
||||
|
||||
/**
|
||||
* Enqueue dropping of the view for a node that has a backing view. Used in conjuction with
|
||||
* Enqueue dropping of the view for a node that has a backing view. Used in conjunction with
|
||||
* remove the node from the shadow hierarchy.
|
||||
*
|
||||
* @param node The node to drop the backing view for.
|
||||
|
||||
Reference in New Issue
Block a user