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:
committed by
Facebook Github Bot
parent
9100019c0a
commit
96eb94afd0
@@ -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();
|
||||
|
Reference in New Issue
Block a user