From bf65e505759e0481b99727d3f8eb91de96371c3f Mon Sep 17 00:00:00 2001 From: Frederic Bregier Date: Wed, 10 Jan 2024 19:30:50 +0100 Subject: [PATCH] Fix javadoc --- .../reactive/client/handlers/AsyncInputStream.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/independent-projects/resteasy-reactive/client/runtime/src/main/java/org/jboss/resteasy/reactive/client/handlers/AsyncInputStream.java b/independent-projects/resteasy-reactive/client/runtime/src/main/java/org/jboss/resteasy/reactive/client/handlers/AsyncInputStream.java index 967123b459df09..9c1e5ff8eeea82 100644 --- a/independent-projects/resteasy-reactive/client/runtime/src/main/java/org/jboss/resteasy/reactive/client/handlers/AsyncInputStream.java +++ b/independent-projects/resteasy-reactive/client/runtime/src/main/java/org/jboss/resteasy/reactive/client/handlers/AsyncInputStream.java @@ -285,7 +285,7 @@ private boolean emitPending() { /** * Drain the buffer. - *

+ *

* Calling this assumes {@code (demand > 0L && !pending.isEmpty()) == true} */ private void drain() { @@ -336,9 +336,9 @@ private void handleException(Throwable err) { /** * Request a specific {@code amount} of elements to be fetched, the amount is added to the actual demand. - *

+ *

* Pending elements in the buffer will be delivered asynchronously on the context to the handler. - *

+ *

* This method can be called from any thread. * * @return {@code true} when the buffer will be drained @@ -360,7 +360,7 @@ public boolean fetch(long amount) { /** * Clear the buffer synchronously. - *

+ *

* No handler will be called. * * @return a reference to this, so the API can be used fluently @@ -382,9 +382,9 @@ public synchronized void pause() { /** * Resume the buffer, and sets the buffer in {@code flowing} mode. - *

+ *

* Pending elements in the buffer will be delivered asynchronously on the context to the handler. - *

+ *

* This method can be called from any thread. */ public void resume() {