Skip to content

Commit

Permalink
Sort and improve Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie committed Oct 6, 2023
1 parent cd1f5f9 commit 3302046
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,15 +391,15 @@ Flux<T> after(Flux<T> flux, T object) {
}
}

/** Prefer {@link Flux#empty()} over more contrived ways of creating an empty flux. */
/** Prefer {@link Flux#empty()} over more contrived alternatives. */
static final class FluxEmpty<T> {
@BeforeTemplate
Flux<T> before() {
return Refaster.anyOf(
Flux.just(),
Flux.concat(),
Flux.concatDelayError(),
Flux.firstWithSignal(),
Flux.just(),
Flux.merge(),
Flux.mergeSequential());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ ImmutableSet<Flux<String>> testFluxDefaultIfEmpty() {

ImmutableSet<Flux<Void>> testFluxEmpty() {
return ImmutableSet.of(
Flux.just(),
Flux.concat(),
Flux.concatDelayError(),
Flux.firstWithSignal(),
Flux.just(),
Flux.merge(),
Flux.mergeSequential());
}
Expand Down

0 comments on commit 3302046

Please sign in to comment.