Fixed InboundBuffer Javadoc for write methods (#3114)

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
This commit is contained in:
Thomas Segismont
2019-09-26 09:46:32 +02:00
parent a88d1fa99a
commit 8f90bd2640

View File

@@ -105,7 +105,7 @@ public class InboundBuffer<E> {
* 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<E> {
*
* @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<E> elements) {
checkContext();