From e839c919463df23efefde48a67b6aa6f6184fdbb Mon Sep 17 00:00:00 2001 From: "Andrew Chen (Eng)" Date: Mon, 5 Mar 2018 22:18:13 -0800 Subject: [PATCH] Generalize JavaOnlyMap's getMap Reviewed By: mdvacca Differential Revision: D7165678 fbshipit-source-id: 3dd88b24c89af369c9d5f3cc57c96f29c4f10d47 --- .../src/main/java/com/facebook/react/bridge/JavaOnlyMap.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/bridge/JavaOnlyMap.java b/ReactAndroid/src/main/java/com/facebook/react/bridge/JavaOnlyMap.java index 62be17622..bce96a339 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/bridge/JavaOnlyMap.java +++ b/ReactAndroid/src/main/java/com/facebook/react/bridge/JavaOnlyMap.java @@ -107,8 +107,8 @@ public class JavaOnlyMap implements ReadableMap, WritableMap { } @Override - public JavaOnlyMap getMap(String name) { - return (JavaOnlyMap) mBackingMap.get(name); + public ReadableMap getMap(String name) { + return (ReadableMap) mBackingMap.get(name); } @Override