mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-01 22:35:29 +08:00
Fix tests with JavaOnlyMap
Summary: Need to force the double thing in more places. Reviewed By: cpojer Differential Revision: D14835792 fbshipit-source-id: fb7a5435675b322d5fbbe9858e08804e9abe65db
This commit is contained in:
committed by
Facebook Github Bot
parent
742d02a172
commit
8ec13c306c
@@ -183,7 +183,7 @@ public class JavaOnlyMap implements ReadableMap, WritableMap {
|
||||
|
||||
@Override
|
||||
public void putInt(@Nonnull String key, int value) {
|
||||
mBackingMap.put(key, value);
|
||||
mBackingMap.put(key, new Double(value));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user