Commit 336f7ed
Migrate YogaNodeJNIBase.java to Kotlin
Summary:
X-link: facebook/yoga#1939
Migrate YogaNodeJNIBase.java to YogaNodeJNIBase.kt, the last hand-written Java source file in the Yoga core library. This required converting all function overrides to Kotlin property overrides where the abstract YogaNode class declares them as val/var properties. Also changed nativePointer visibility in YogaConfigJNIBase from protected to internal to maintain same-module access that Java protected provided via package access.
Changelog:
[Internal] -
Differential Revision: D1046663351 parent 5116692 commit 336f7ed
3 files changed
Lines changed: 715 additions & 929 deletions
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/yoga
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments