From aeb9549af7fbfef5e43e3334a40687d5d885158e Mon Sep 17 00:00:00 2001 From: Sergey Ryabov Date: Fri, 22 Nov 2019 10:08:38 -0800 Subject: [PATCH] Fix javadocs Summary: Changelog: [Internal] Reviewed By: muraziz Differential Revision: D15538725 fbshipit-source-id: 5cf60f47b07ce355e40d5b064add1df980beed89 --- java/com/facebook/yoga/YogaNodeJNIBase.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/java/com/facebook/yoga/YogaNodeJNIBase.java b/java/com/facebook/yoga/YogaNodeJNIBase.java index 45d017c4..6372ddd7 100644 --- a/java/com/facebook/yoga/YogaNodeJNIBase.java +++ b/java/com/facebook/yoga/YogaNodeJNIBase.java @@ -138,12 +138,12 @@ public abstract class YogaNodeJNIBase extends YogaNode implements Cloneable { } /** - * @returns the {@link YogaNode} that owns this {@link YogaNode}. - * The owner is used to identify the YogaTree that a {@link YogaNode} belongs - * to. + * The owner is used to identify the YogaTree that a {@link YogaNode} belongs to. * This method will return the parent of the {@link YogaNode} when the * {@link YogaNode} only belongs to one YogaTree or null when the * {@link YogaNode} is shared between two or more YogaTrees. + * + * @return the {@link YogaNode} that owns this {@link YogaNode}. */ @Nullable public YogaNodeJNIBase getOwner() { @@ -521,7 +521,7 @@ public abstract class YogaNodeJNIBase extends YogaNode implements Cloneable { * This is different than calling removeChildAt and addChildAt because this method ONLY replaces * the child in the mChildren datastructure. @DoNotStrip: called from JNI * - * @return the nativePointer of the newNode {@linl YogaNode} + * @return the nativePointer of the newNode {@link YogaNode} */ @DoNotStrip private final long replaceChild(YogaNodeJNIBase newNode, int childIndex) {