mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
4dfa3be871
Summary: The GenerateModuleJavaSpec.js mistakenly treated nullable getConstants() properties as required, such that the Java spec will throw an exception when the properties are missing. This fixed it. Note that the JavaPoet-based generator got this correct already. Changelog: [Internal] Differential Revision: D24381941 fbshipit-source-id: c95d2181c66443e2191318f09b6454a5296009e4