From 7758341a49bd10ad61ffbea4bfb6d33ee80fbb9a Mon Sep 17 00:00:00 2001 From: Nikita Katkov Date: Tue, 9 Nov 2021 19:02:38 +0300 Subject: [PATCH] Added html tags for correct documentation rendering --- .../org/jetbrains/annotations/BlockingExecutor.java | 13 +++++++------ .../jetbrains/annotations/NonBlockingExecutor.java | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/java8/src/main/java/org/jetbrains/annotations/BlockingExecutor.java b/java8/src/main/java/org/jetbrains/annotations/BlockingExecutor.java index d20fa7b..32b7af6 100644 --- a/java8/src/main/java/org/jetbrains/annotations/BlockingExecutor.java +++ b/java8/src/main/java/org/jetbrains/annotations/BlockingExecutor.java @@ -20,9 +20,10 @@ /** * Indicates that the annotated executor (CoroutineContext, Scheduler) - * allows blocking methods execution. - * - * If a given executor does not allow blocking calls, {@link NonBlockingExecutor} should be used. + * allows blocking methods execution.

+ *

+ * If a given executor does not allow blocking calls, {@link NonBlockingExecutor} should be used.

+ *

* * Example 1 (Kotlin coroutines): *

@@ -41,8 +42,8 @@
  *      @Blocking fun blockingBuzz() { ... }
  *  }
  * }
- * 
- * + *
+ *

* Example 2 (Java with Reactor framework): *

  * {@code
@@ -60,7 +61,7 @@
  * }
  * }
  * 
- * + *

* @see Blocking * @see NonBlocking */ diff --git a/java8/src/main/java/org/jetbrains/annotations/NonBlockingExecutor.java b/java8/src/main/java/org/jetbrains/annotations/NonBlockingExecutor.java index 563c8f6..39ead7d 100644 --- a/java8/src/main/java/org/jetbrains/annotations/NonBlockingExecutor.java +++ b/java8/src/main/java/org/jetbrains/annotations/NonBlockingExecutor.java @@ -20,9 +20,11 @@ /** * Indicates that the annotated executor (CoroutineContext, Scheduler) - * does not allow blocking methods execution. + * does not allow blocking methods execution.

+ *

* - * If a given executor allows blocking calls, {@link BlockingExecutor} should be used. + * If a given executor allows blocking calls, {@link BlockingExecutor} should be used.

+ *

* * Example 1 (Kotlin coroutines): *

@@ -41,9 +43,8 @@
  *      @Blocking fun blockingBuzz() { ... }
  *  }
  * }
- * 
- * - *
+ *
+ *

* Example 2 (Java with Reactor framework): *

  * {@code
@@ -61,7 +62,7 @@
  *  }
  * }
  * 
- * + *

* @see Blocking * @see NonBlocking */