ReadableNativeMap -> ReadableMap

Summary:
This diff refactors JNI methods used by the Binding.cpp class in order to use ReadableMap instead of ReadableNativeMap
This will be helpful to provide a different implementation of ReadableMap from C++

Reviewed By: shergin

Differential Revision: D14077762

fbshipit-source-id: 595b0c2d3a2d6070112257b65c1141a8af36f0e1
This commit is contained in:
David Vacca
2019-02-14 00:00:58 -08:00
committed by Facebook Github Bot
parent 1ec9325bae
commit 959fdf6049
9 changed files with 60 additions and 60 deletions
@@ -47,7 +47,7 @@ public class ReadableNativeMap extends NativeMap implements ReadableMap {
if (mLocalMap != null) {
return mLocalMap;
}
// Check and when necessary get keys atomicaly
// Check and when necessary get keys atomically
synchronized (this) {
if (mKeys == null) {
mKeys = Assertions.assertNotNull(importKeys());