Commit 9937a5d
Fix MissingOverrideAnnotation: Add @OverRide to flex methods (facebook#55502)
Summary:
This change adds missing Override annotations to three methods in LayoutShadowNode that override methods from the parent class:
- setFlex(float)
- setFlexGrow(float)
- setFlexShrink(float)
These methods call super.setFlex/setFlexGrow/setFlexShrink, indicating they override parent methods and should have Override annotations for code clarity and compiler checking.
changelog: [internal] internal
Reviewed By: alanleedev
Differential Revision: D920210001 parent 5fac8ac commit 9937a5d
1 file changed
Lines changed: 3 additions & 0 deletions
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| 233 | + | |
233 | 234 | | |
234 | 235 | | |
235 | 236 | | |
| |||
238 | 239 | | |
239 | 240 | | |
240 | 241 | | |
| 242 | + | |
241 | 243 | | |
242 | 244 | | |
243 | 245 | | |
| |||
309 | 311 | | |
310 | 312 | | |
311 | 313 | | |
| 314 | + | |
312 | 315 | | |
313 | 316 | | |
314 | 317 | | |
| |||
0 commit comments