Skip to content

Commit 7cc3b6e

Browse files
authored
Fix 'heading used out of sequence' JavaDoc error (#2896)
1 parent 7554f5f commit 7cc3b6e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

vavr/generator/Generator.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -1373,7 +1373,7 @@ def generateMainClasses(): Unit = {
13731373
* import static io.vavr.API.*;
13741374
* </code></pre>
13751375
*
1376-
* <h3>For-comprehension</h3>
1376+
* <h2>For-comprehension</h2>
13771377
* <p>
13781378
* The {@code For}-comprehension is syntactic sugar for nested for-loops. We write
13791379
*

vavr/src-gen/main/java/io/vavr/API.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
* import static io.vavr.API.*;
4949
* </code></pre>
5050
*
51-
* <h3>For-comprehension</h3>
51+
* <h2>For-comprehension</h2>
5252
* <p>
5353
* The {@code For}-comprehension is syntactic sugar for nested for-loops. We write
5454
*

vavr/src/main/java/io/vavr/concurrent/Promise.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* The underlying {@code Executor} is used to execute asynchronous handlers, e.g. via
3636
* {@code promise.future().onComplete(...)}.
3737
*
38-
* <h3>Creation</h3>
38+
* <h2>Creation</h2>
3939
* <p>
4040
* Promise offers static factory methods to create new promises which hasn't been fulfilled yet:
4141
* <ul>

0 commit comments

Comments
 (0)