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:
1 parent
6c0f73b322
commit
cd05a85fe5
22 files changed
+271
-112
No files matched your search
@@ -193,8 +193,18 @@ public abstract class ViewManager<T extends View, C extends ReactShadowNode>
|
||||
* native views. This should return bubbling directly-dispatched event types and specify what
|
||||
* names should be used to subscribe to either form (bubbling/capturing).
|
||||
*
|
||||
* <p>Returned map should be of the form: { "onTwirl": { "phasedRegistrationNames": { "bubbled":
|
||||
* "onTwirl", "captured": "onTwirlCaptured" } } }
|
||||
* <p>Returned map should be of the form:
|
||||
*
|
||||
* <pre>
|
||||
* {
|
||||
* "onTwirl": {
|
||||
* "phasedRegistrationNames": {
|
||||
* "bubbled": "onTwirl",
|
||||
* "captured": "onTwirlCaptured"
|
||||
* }
|
||||
* }
|
||||
* }
|
||||
* </pre>
|
||||
*/
|
||||
public @Nullable Map<String, Object> getExportedCustomBubblingEventTypeConstants() {
|
||||
return null;
|
||||
@@ -204,7 +214,15 @@ public abstract class ViewManager<T extends View, C extends ReactShadowNode>
|
||||
* Returns a map of config data passed to JS that defines eligible events that can be placed on
|
||||
* native views. This should return non-bubbling directly-dispatched event types.
|
||||
*
|
||||
* <p>Returned map should be of the form: { "onTwirl": { "registrationName": "onTwirl" } }
|
||||
* <p>Returned map should be of the form:
|
||||
*
|
||||
* <pre>
|
||||
* {
|
||||
* "onTwirl": {
|
||||
* "registrationName": "onTwirl"
|
||||
* }
|
||||
* }
|
||||
* </pre>
|
||||
*/
|
||||
public @Nullable Map<String, Object> getExportedCustomDirectEventTypeConstants() {
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user