Skip to content

Commit

Permalink
Fix 'heading used out of sequence' JavaDoc error (#2896)
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit authored Oct 10, 2024
1 parent 7554f5f commit 7cc3b6e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vavr/generator/Generator.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,7 @@ def generateMainClasses(): Unit = {
* import static io.vavr.API.*;
* </code></pre>
*
* <h3>For-comprehension</h3>
* <h2>For-comprehension</h2>
* <p>
* The {@code For}-comprehension is syntactic sugar for nested for-loops. We write
*
Expand Down
2 changes: 1 addition & 1 deletion vavr/src-gen/main/java/io/vavr/API.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
* import static io.vavr.API.*;
* </code></pre>
*
* <h3>For-comprehension</h3>
* <h2>For-comprehension</h2>
* <p>
* The {@code For}-comprehension is syntactic sugar for nested for-loops. We write
*
Expand Down
2 changes: 1 addition & 1 deletion vavr/src/main/java/io/vavr/concurrent/Promise.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* The underlying {@code Executor} is used to execute asynchronous handlers, e.g. via
* {@code promise.future().onComplete(...)}.
*
* <h3>Creation</h3>
* <h2>Creation</h2>
* <p>
* Promise offers static factory methods to create new promises which hasn't been fulfilled yet:
* <ul>
Expand Down

0 comments on commit 7cc3b6e

Please sign in to comment.