Remove YogaNode.create() from the abstract class

Summary:
Remove YogaNode.create() from the abstract class after we made sure nothing uses it anymore
This is the final stage to make `YogaNode` a pure class without JNI references

Reviewed By: SidharthGuglani

Differential Revision: D17280571

fbshipit-source-id: bd0eb138f7a6a9de8988fc0a7b90badbf635dac5
This commit is contained in:
Amir Shalem
2019-09-18 00:36:26 -07:00
committed by Facebook Github Bot
parent 9100019c0a
commit 96eb94afd0

View File

@@ -9,14 +9,6 @@ package com.facebook.yoga;
import javax.annotation.Nullable;
public abstract class YogaNode {
public static YogaNode create() {
return new YogaNodeJNIFinalizer();
}
public static YogaNode create(YogaConfig config) {
return new YogaNodeJNIFinalizer(config);
}
public abstract void reset();
public abstract int getChildCount();