Migrate YogaConfigFactory
to Kotlin (#1833)
Summary: Migrate com.facebook.yoga.YogaConfigFactory to Kotlin. Pull Request resolved: https://github.com/facebook/yoga/pull/1833 Test Plan: RN ```sh yarn android yarn test-android ``` Yoga ```sh ./gradlew :yoga:assembleDebug ``` Reviewed By: rshest Differential Revision: D79897762 Pulled By: cortinico fbshipit-source-id: 9457b307204f2066a02690f96a88fce6755f915e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
499a825836
commit
bf1cbd29c0
@@ -5,10 +5,8 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
package com.facebook.yoga;
|
||||
package com.facebook.yoga
|
||||
|
||||
public abstract class YogaConfigFactory {
|
||||
public static YogaConfig create() {
|
||||
return new YogaConfigJNIFinalizer();
|
||||
}
|
||||
public object YogaConfigFactory {
|
||||
@JvmStatic public fun create(): YogaConfig = YogaConfigJNIFinalizer()
|
||||
}
|
Reference in New Issue
Block a user