Generalize JavaOnlyMap's getMap
Reviewed By: mdvacca Differential Revision: D7165678 fbshipit-source-id: 3dd88b24c89af369c9d5f3cc57c96f29c4f10d47
This commit is contained in:
parent
ac929ef4f6
commit
e839c91946
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue