Skip to content

Commit b1f679b

Browse files
committed
Fix HttpHandlerAutoConfiguration
Fix HttpHandlerAutoConfiguration following upstream Spring Framework changes.
1 parent 4f7e5ef commit b1f679b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/webflux/HttpHandlerAutoConfiguration.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,7 @@ public HttpHandler httpHandler(List<RouterFunction> routerFunctions) {
125125
strategiesBuilder.build());
126126
WebHttpHandlerBuilder builder = WebHttpHandlerBuilder.webHandler(webHandler)
127127
.sessionManager(this.webSessionManager);
128-
if (this.webFilters != null) {
129-
builder.filters(
130-
this.webFilters.toArray(new WebFilter[this.webFilters.size()]));
131-
}
128+
builder.filters(this.webFilters);
132129
return builder.build();
133130
}
134131

0 commit comments

Comments
 (0)