Skip to content

Commit 70f4d5e

Browse files
committed
Polish "Apply context and connector customizer beans to Tomcat factories"
Closes gh-15492
1 parent 90c4890 commit 70f4d5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/reactive/ReactiveWebServerFactoryAutoConfigurationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public TomcatConnectorCustomizer connectorCustomizer() {
186186
static class TomcatContextCustomizerConfiguration {
187187

188188
@Bean
189-
public TomcatContextCustomizer connectorCustomizer() {
189+
public TomcatContextCustomizer contextCustomizer() {
190190
return (context) -> {
191191
};
192192
}

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/ServletWebServerFactoryAutoConfigurationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ public TomcatConnectorCustomizer connectorCustomizer() {
300300
static class TomcatContextCustomizerConfiguration {
301301

302302
@Bean
303-
public TomcatContextCustomizer connectorCustomizer() {
303+
public TomcatContextCustomizer contextCustomizer() {
304304
return (context) -> {
305305
};
306306
}

0 commit comments

Comments
 (0)