Generalize JavaOnlyMap's getMap

Reviewed By: mdvacca

Differential Revision: D7165678

fbshipit-source-id: 3dd88b24c89af369c9d5f3cc57c96f29c4f10d47
This commit is contained in:
Andrew Chen (Eng) 2018-03-05 22:18:13 -08:00 committed by Facebook Github Bot
parent ac929ef4f6
commit e839c91946
1 changed files with 2 additions and 2 deletions

View File

@ -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