From 017abb93521d00c362a58b9867c784299caa1352 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 b437bc756..241402a6c 100644 --- a/src/main/java/io/vertx/core/streams/impl/InboundBuffer.java +++ b/src/main/java/io/vertx/core/streams/impl/InboundBuffer.java @@ -107,7 +107,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) { checkThread(); @@ -144,7 +144,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) { checkThread();