From d0457cf25d97b24c6c16551357ec2e3ccdb791fd Mon Sep 17 00:00:00 2001 From: clayly <31773799+clayly@users.noreply.github.com> Date: Mon, 17 May 2021 16:10:24 +0300 Subject: [PATCH] Improve Flux.any javadoc, aligning with Mono.any's (#2703) --- reactor-core/src/main/java/reactor/core/publisher/Flux.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactor-core/src/main/java/reactor/core/publisher/Flux.java b/reactor-core/src/main/java/reactor/core/publisher/Flux.java index 421290193e..0b948fd516 100644 --- a/reactor-core/src/main/java/reactor/core/publisher/Flux.java +++ b/reactor-core/src/main/java/reactor/core/publisher/Flux.java @@ -2420,8 +2420,8 @@ public final Mono all(Predicate predicate) { * Emit a single boolean true if any of the values of this {@link Flux} sequence match * the predicate. *

- * The implementation uses short-circuit logic and completes with false if any value - * doesn't match the predicate. + * The implementation uses short-circuit logic and completes with true if + * the predicate matches a value. * *

*