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:
1 parent
ba6075120a
commit
d2f0abdf4e
36 files changed
+37
-37
No files matched your search
@@ -874,7 +874,7 @@ public class UIViewOperationQueue {
|
||||
}
|
||||
|
||||
// In the case where the frame callback isn't enqueued, the UI isn't being displayed or is being
|
||||
// destroyed. In this case it's no longer important to align to frames, but it is imporant to make
|
||||
// destroyed. In this case it's no longer important to align to frames, but it is important to make
|
||||
// sure any late-arriving UI commands are executed.
|
||||
if (!mIsDispatchUIFrameCallbackEnqueued) {
|
||||
UiThreadUtil.runOnUiThread(
|
||||
|
||||
@@ -57,7 +57,7 @@ public abstract class ViewManager<T extends View, C extends ReactShadowNode>
|
||||
|
||||
/**
|
||||
* This method should return a subclass of {@link ReactShadowNode} which will be then used for
|
||||
* measuring position and size of the view. In mose of the cases this should just return an
|
||||
* measuring position and size of the view. In most of the cases this should just return an
|
||||
* instance of {@link ReactShadowNode}
|
||||
*/
|
||||
public C createShadowNodeInstance() {
|
||||
|
||||
@@ -58,7 +58,7 @@ public @interface ReactProp {
|
||||
* set in which case default type will be send to JS based on the type of value argument from the
|
||||
* setter method (e.g. for {@code int}, {@code double} default is "number", for
|
||||
* {@code ReadableArray} it's "Array"). Custom type may be used when additional processing of the
|
||||
* value needs to be done in JS before sending it over the brige. A good example of that would be
|
||||
* value needs to be done in JS before sending it over the bridge. A good example of that would be
|
||||
* backgroundColor property, which is expressed as a {@code String} in JS, but we use
|
||||
* {@code processColor} JS module to convert it to {@code int} before sending over the bridge.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ import com.facebook.react.uimanager.IllegalViewOperationException;
|
||||
|
||||
/**
|
||||
* Create an animation object for the current animation type, based on the view and final screen
|
||||
* coordinates. If the application-supplied configuraiton does not specify an animation definition
|
||||
* coordinates. If the application-supplied configuration does not specify an animation definition
|
||||
* for this types, or if the animation definition is invalid, returns null.
|
||||
*/
|
||||
abstract @Nullable Animation createAnimationImpl(View view, int x, int y, int width, int height);
|
||||
|
||||
Reference in new issue
Block a user