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 9, 2023
1 parent ec8d715 commit 365eee4
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 @@ -426,15 +426,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 @@ -150,10 +150,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 365eee4

Please sign in to comment.