Skip to content

Commit 7758341

Browse files
Nikita KatkovNikita Katkov
authored andcommitted
Added html tags for correct documentation rendering
1 parent 349d2dd commit 7758341

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

java8/src/main/java/org/jetbrains/annotations/BlockingExecutor.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020

2121
/**
2222
* Indicates that the annotated executor (CoroutineContext, Scheduler)
23-
* allows blocking methods execution.
24-
*
25-
* If a given executor does not allow blocking calls, {@link NonBlockingExecutor} should be used.
23+
* allows blocking methods execution.<br><br>
24+
* <p>
25+
* If a given executor does not allow blocking calls, {@link NonBlockingExecutor} should be used.<br><br>
26+
* <p>
2627
*
2728
* Example 1 (Kotlin coroutines):
2829
* <pre>
@@ -41,8 +42,8 @@
4142
* @Blocking fun blockingBuzz() { ... }
4243
* }
4344
* }
44-
* </pre>
45-
*
45+
* </pre><br>
46+
* <p>
4647
* Example 2 (Java with Reactor framework):
4748
* <pre>
4849
* {@code
@@ -60,7 +61,7 @@
6061
* }
6162
* }
6263
* </pre>
63-
*
64+
* <p>
6465
* @see Blocking
6566
* @see NonBlocking
6667
*/

java8/src/main/java/org/jetbrains/annotations/NonBlockingExecutor.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@
2020

2121
/**
2222
* Indicates that the annotated executor (CoroutineContext, Scheduler)
23-
* does not allow blocking methods execution.
23+
* does not allow blocking methods execution.<br><br>
24+
* <p>
2425
*
25-
* If a given executor allows blocking calls, {@link BlockingExecutor} should be used.
26+
* If a given executor allows blocking calls, {@link BlockingExecutor} should be used.<br><br>
27+
* <p>
2628
*
2729
* Example 1 (Kotlin coroutines):
2830
* <pre>
@@ -41,9 +43,8 @@
4143
* @Blocking fun blockingBuzz() { ... }
4244
* }
4345
* }
44-
* </pre>
45-
*
46-
* <br>
46+
* </pre><br>
47+
* <p>
4748
* Example 2 (Java with Reactor framework):
4849
* <pre>
4950
* {@code
@@ -61,7 +62,7 @@
6162
* }
6263
* }
6364
* </pre>
64-
*
65+
* <p>
6566
* @see Blocking
6667
* @see NonBlocking
6768
*/

0 commit comments

Comments
 (0)