mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix Javadocs broken by google-java-format
Summary: After we ran google-java-format D16071725, some Javadocs which weren't properly written broke. This includes putting unordered and ordered lists not using <ul> and <ol>, putting code blocks and pseudo-graphics not using <pre>. I ran through all the changed classes and tried to fix the broken Javadocs. Reviewed By: cpojer Differential Revision: D16090087 fbshipit-source-id: f31971cbc0e367a04814ff90bbfb2192751d5e16
This commit is contained in:
committed by
Facebook Github Bot
parent
6c0f73b322
commit
cd05a85fe5
@@ -20,11 +20,16 @@ import javax.annotation.Nullable;
|
||||
* occurs.
|
||||
*
|
||||
* <p>Native methods can be exposed to JS with {@link ReactMethod} annotation. Those methods may
|
||||
* only use limited number of types for their arguments: 1/ primitives (boolean, int, float, double
|
||||
* 2/ {@link String} mapped from JS string 3/ {@link ReadableArray} mapped from JS Array 4/ {@link
|
||||
* ReadableMap} mapped from JS Object 5/ {@link Callback} mapped from js function and can be used
|
||||
* only as a last parameter or in the case when it express success & error callback pair as two last
|
||||
* arguments respectively.
|
||||
* only use limited number of types for their arguments:
|
||||
*
|
||||
* <ol>
|
||||
* <li>primitives (boolean, int, float, double
|
||||
* <li>{@link String} mapped from JS string
|
||||
* <li>{@link ReadableArray} mapped from JS Array
|
||||
* <li>{@link ReadableMap} mapped from JS Object
|
||||
* <li>{@link Callback} mapped from js function and can be used only as a last parameter or in the
|
||||
* case when it express success & error callback pair as two last arguments respectively.
|
||||
* </ol>
|
||||
*
|
||||
* <p>All methods exposed as native to JS with {@link ReactMethod} annotation must return {@code
|
||||
* void}.
|
||||
|
||||
Reference in New Issue
Block a user