Skip to content

Commit

Permalink
Apply Ssuggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie committed Jul 2, 2023
1 parent 607fdeb commit 130da05
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -418,10 +418,7 @@ Mono<T> after(Mono<T> mono) {
}
}

/**
* Don't unnecessarily transform a {@link Mono} to a {@link Flux} before calling {@link
* Mono#single()}.
*/
/** Don't unnecessarily transform a {@link Mono} to a {@link Flux} to expect exactly one item. */
static final class MonoSingle<T> {
@BeforeTemplate
Mono<T> before(Mono<T> mono) {
Expand Down

0 comments on commit 130da05

Please sign in to comment.