Rename init() -> reinit() to be more in line with what it now does

Reviewed By: lucasr

Differential Revision: D3992811

fbshipit-source-id: 61a10acc873ec028b2789007a400d89e62cf31d6
This commit is contained in:
Emil Sjolander authored and Facebook Github Bot committed 2016-10-12 03:58:45 -07:00
1 parent 64455ced5d
commit fb245cca83
3 files changed
+4 -4

No files matched your search

@@ -36,7 +36,7 @@ public class CSSNode implements CSSNodeAPI<CSSNode> {
private Object mData;
public CSSNode() {
init();
reinit();
}
private void assertNativeInstance() {
@@ -47,7 +47,7 @@ public class CSSNode implements CSSNodeAPI<CSSNode> {
private native long jni_CSSNodeNew();
@Override
public void init() {
public void reinit() {
if (mNativePointer != 0) {
throw new IllegalStateException("Allready initialized node");
}