This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new 94fbb2af01 minor refactor: remove javadoc warnings
94fbb2af01 is described below

commit 94fbb2af0139fa9c27b5a586f450a0e7e8df19c1
Author: Paul King <[email protected]>
AuthorDate: Tue Apr 14 07:20:14 2026 +1000

    minor refactor: remove javadoc warnings
---
 src/main/java/org/apache/groovy/runtime/async/GroovyPromise.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/groovy/runtime/async/GroovyPromise.java 
b/src/main/java/org/apache/groovy/runtime/async/GroovyPromise.java
index c266953004..044b948d0f 100644
--- a/src/main/java/org/apache/groovy/runtime/async/GroovyPromise.java
+++ b/src/main/java/org/apache/groovy/runtime/async/GroovyPromise.java
@@ -180,7 +180,7 @@ public class GroovyPromise<T> implements Awaitable<T> {
      * <p>
      * Returns a new {@code GroovyPromise} whose result is obtained by applying
      * the given function to this promise's result.  The current
-     * {@link AsyncContext} snapshot is captured when the continuation is
+     * {@code AsyncContext} snapshot is captured when the continuation is
      * registered and restored when it executes.
      */
     @Override
@@ -193,7 +193,7 @@ public class GroovyPromise<T> implements Awaitable<T> {
      * <p>
      * Returns a new {@code GroovyPromise} that is the result of composing this
      * promise with the async function, enabling flat-mapping of awaitables.
-     * The current {@link AsyncContext} snapshot is captured when the
+     * The current {@code AsyncContext} snapshot is captured when the
      * continuation is registered and restored when it executes.
      */
     @Override
@@ -208,7 +208,7 @@ public class GroovyPromise<T> implements Awaitable<T> {
      * Returns a new {@code GroovyPromise} that handles exceptions thrown by 
this promise.
      * The throwable passed to the handler is deeply unwrapped to strip JDK
      * wrapper layers ({@code CompletionException}, {@code 
ExecutionException}).
-     * The handler runs with the {@link AsyncContext} snapshot that was active
+     * The handler runs with the {@code AsyncContext} snapshot that was active
      * when the recovery continuation was registered.
      */
     @Override

Reply via email to