Static type check for int params + migrate colorInt to just int.

Differential Revision: D2475618

committer: Service User <svcscm@fb.com>
This commit is contained in:
Krzysztof Magiera
2015-09-24 03:02:33 -07:00
committed by facebook-github-bot-9
parent 944fa4d635
commit 6c3fb77f30
17 changed files with 78 additions and 221 deletions

View File

@@ -32,12 +32,9 @@ public class WritableNativeArray extends ReadableNativeArray implements Writable
@Override
public native void pushDouble(double value);
@Override
public native void pushString(String value);
public native void pushInt(int value);
@Override
public void pushInt(int value) {
pushDouble(value);
}
public native void pushString(String value);
// Note: this consumes the map so do not reuse it.
@Override