Skip to content

Commit

Permalink
Removed TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
chemicL committed Jun 6, 2023
1 parent befec06 commit 8cc7404
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 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 @@ -3134,8 +3134,6 @@ public final <C extends Collection<? super T>> Flux<C> bufferTimeout(int maxSiz

public final <C extends Collection<? super T>> Flux<C> bufferTimeout(int maxSize, Duration maxTime,
Scheduler timer, Supplier<C> bufferSupplier, boolean fairBackpressure) {
// TODO: if maxSize == Integer.MAX_VALUE -> return plain buffer() with timeout
// as parameter for time.
return onAssembly(new FluxBufferTimeout<>(this, maxSize, maxTime.toNanos(), TimeUnit.NANOSECONDS, timer, bufferSupplier,
fairBackpressure));
}
Expand Down

0 comments on commit 8cc7404

Please sign in to comment.