From e21d94f91bfdfe8e3d7df43c2823425d096e0770 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Tue, 26 Feb 2019 07:58:13 +0900 Subject: [PATCH] Polish Closes gh-22472 --- .../http/server/reactive/AbstractServerHttpResponse.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractServerHttpResponse.java b/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractServerHttpResponse.java index 26684a4219..87945e5a84 100644 --- a/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractServerHttpResponse.java +++ b/spring-web/src/main/java/org/springframework/http/server/reactive/AbstractServerHttpResponse.java @@ -225,8 +225,8 @@ public abstract class AbstractServerHttpResponse implements ServerHttpResponse { this.commitActions.add(writeAction); } Flux commit = Flux.empty(); - for (Supplier> actions : this.commitActions) { - commit = commit.concatWith(actions.get()); + for (Supplier> action : this.commitActions) { + commit = commit.concatWith(action.get()); } return commit.then(); }