From 7cc3b6e9bb54f1cb49da12cdc4c3464456ef883e Mon Sep 17 00:00:00 2001 From: Grzegorz Piwowarek Date: Thu, 10 Oct 2024 17:38:19 +0200 Subject: [PATCH] Fix 'heading used out of sequence' JavaDoc error (#2896) --- vavr/generator/Generator.scala | 2 +- vavr/src-gen/main/java/io/vavr/API.java | 2 +- vavr/src/main/java/io/vavr/concurrent/Promise.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vavr/generator/Generator.scala b/vavr/generator/Generator.scala index 1b76b05164..33ff1fae2e 100644 --- a/vavr/generator/Generator.scala +++ b/vavr/generator/Generator.scala @@ -1373,7 +1373,7 @@ def generateMainClasses(): Unit = { * import static io.vavr.API.*; * * - *

For-comprehension

+ *

For-comprehension

*

* The {@code For}-comprehension is syntactic sugar for nested for-loops. We write * diff --git a/vavr/src-gen/main/java/io/vavr/API.java b/vavr/src-gen/main/java/io/vavr/API.java index 43038581ec..40b24b0673 100644 --- a/vavr/src-gen/main/java/io/vavr/API.java +++ b/vavr/src-gen/main/java/io/vavr/API.java @@ -48,7 +48,7 @@ * import static io.vavr.API.*; * * - *

For-comprehension

+ *

For-comprehension

*

* The {@code For}-comprehension is syntactic sugar for nested for-loops. We write * diff --git a/vavr/src/main/java/io/vavr/concurrent/Promise.java b/vavr/src/main/java/io/vavr/concurrent/Promise.java index 8c537f38e4..c7bbbe7139 100644 --- a/vavr/src/main/java/io/vavr/concurrent/Promise.java +++ b/vavr/src/main/java/io/vavr/concurrent/Promise.java @@ -35,7 +35,7 @@ * The underlying {@code Executor} is used to execute asynchronous handlers, e.g. via * {@code promise.future().onComplete(...)}. * - *

Creation

+ *

Creation

*

* Promise offers static factory methods to create new promises which hasn't been fulfilled yet: *