mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-24 07:39:09 +00:00
Polish
Closes gh-22472
This commit is contained in:
committed by
Stephane Nicoll
parent
7158acb8df
commit
e21d94f91b
+2
-2
@@ -225,8 +225,8 @@ public abstract class AbstractServerHttpResponse implements ServerHttpResponse {
|
||||
this.commitActions.add(writeAction);
|
||||
}
|
||||
Flux<Void> commit = Flux.empty();
|
||||
for (Supplier<? extends Mono<Void>> actions : this.commitActions) {
|
||||
commit = commit.concatWith(actions.get());
|
||||
for (Supplier<? extends Mono<Void>> action : this.commitActions) {
|
||||
commit = commit.concatWith(action.get());
|
||||
}
|
||||
return commit.then();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user