mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook Github Bot
parent
1ec9325bae
commit
959fdf6049
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user