Skip to content

Fix MissingOverrideAnnotation: Add @Override to YogaNodeJNIBase methods#1918

Open
mdvacca wants to merge 1 commit intofacebook:mainfrom
mdvacca:export-D95413075
Open

Fix MissingOverrideAnnotation: Add @Override to YogaNodeJNIBase methods#1918
mdvacca wants to merge 1 commit intofacebook:mainfrom
mdvacca:export-D95413075

Conversation

@mdvacca
Copy link
Copy Markdown
Contributor

@mdvacca mdvacca commented Mar 12, 2026

Summary:
X-link: facebook/react-native#56040

Fixed 101 MissingOverrideAnnotation lint errors in YogaNodeJNIBase.java.

Added Override annotation to all public methods that override abstract methods from the YogaNode superclass but were missing the annotation. This includes style getters/setters (direction, flex, margin, padding, border, position, width, height, min/max dimensions, aspect ratio, gap), layout methods (reset, calculateLayout, dirty), tree manipulation (addChildAt, removeChildAt, indexOf), and measurement/baseline functions.

changelog: [internal] internal

Reviewed By: cortinico

Differential Revision: D95413075

Summary:
X-link: facebook/react-native#56040

Fixed 101 MissingOverrideAnnotation lint errors in YogaNodeJNIBase.java.

Added Override annotation to all public methods that override abstract methods from the YogaNode superclass but were missing the annotation. This includes style getters/setters (direction, flex, margin, padding, border, position, width, height, min/max dimensions, aspect ratio, gap), layout methods (reset, calculateLayout, dirty), tree manipulation (addChildAt, removeChildAt, indexOf), and measurement/baseline functions.

changelog: [internal] internal

Reviewed By: cortinico

Differential Revision: D95413075
@meta-cla meta-cla bot added the CLA Signed label Mar 12, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
yoga-website Ready Ready Preview, Comment Mar 12, 2026 5:13pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant