diff --git a/src/main/java/io/vertx/core/streams/ReadStream.java b/src/main/java/io/vertx/core/streams/ReadStream.java index 616e57c7274..87d0a5d5e21 100644 --- a/src/main/java/io/vertx/core/streams/ReadStream.java +++ b/src/main/java/io/vertx/core/streams/ReadStream.java @@ -145,7 +145,7 @@ default void pipeTo(WriteStream dst, Handler> handler) { * * @return a future notified with result produced by the {@code collector} applied to this stream */ - @GenIgnore(GenIgnore.PERMITTED_TYPE) + @GenIgnore default Future collect(java.util.stream.Collector collector) { PromiseInternal promise = (PromiseInternal) Promise.promise(); A cumulation = collector.supplier().get();