From 8f90bd264063772b1f87c64efccb31487e22e528 Mon Sep 17 00:00:00 2001 From: Thomas Segismont Date: Thu, 26 Sep 2019 09:46:32 +0200 Subject: [PATCH] Fixed InboundBuffer Javadoc for write methods (#3114) Signed-off-by: Thomas Segismont --- src/main/java/io/vertx/core/streams/impl/InboundBuffer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/vertx/core/streams/impl/InboundBuffer.java b/src/main/java/io/vertx/core/streams/impl/InboundBuffer.java index 18f2f4f6e..d754daa5b 100644 --- a/src/main/java/io/vertx/core/streams/impl/InboundBuffer.java +++ b/src/main/java/io/vertx/core/streams/impl/InboundBuffer.java @@ -105,7 +105,7 @@ public class InboundBuffer { * it is possible, otherwise it will be queued for later delivery. * * @param element the element to add - * @return {@code true} when the buffer is full and the producer should stop writing + * @return {@code false} when the producer should stop writing */ public boolean write(E element) { checkContext(); @@ -142,7 +142,7 @@ public class InboundBuffer { * * @see #write(E) * @param elements the elements to add - * @return {@code true} if the buffer is full + * @return {@code false} when the producer should stop writing */ public boolean write(Iterable elements) { checkContext();