Skip to content

Commit

Permalink
Improve Flux.any javadoc, aligning with Mono.any's (reactor#2703)
Browse files Browse the repository at this point in the history
  • Loading branch information
clayly authored May 17, 2021
1 parent 236da83 commit d0457cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reactor-core/src/main/java/reactor/core/publisher/Flux.java
Original file line number Diff line number Diff line change
Expand Up @@ -2420,8 +2420,8 @@ public final Mono<Boolean> all(Predicate<? super T> predicate) {
* Emit a single boolean true if any of the values of this {@link Flux} sequence match
* the predicate.
* <p>
* 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.
*
* <p>
* <img class="marble" src="doc-files/marbles/any.svg" alt="">
Expand Down

0 comments on commit d0457cf

Please sign in to comment.