Skip to content

Commit c6dab44

Browse files
committed
Fix visibility of inner classes of ServletWebServerFactoryConfiguration
Closes gh-19395
1 parent c3c01d9 commit c6dab44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/ServletWebServerFactoryConfiguration.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class ServletWebServerFactoryConfiguration {
5454
@Configuration
5555
@ConditionalOnClass({ Servlet.class, Tomcat.class, UpgradeProtocol.class })
5656
@ConditionalOnMissingBean(value = ServletWebServerFactory.class, search = SearchStrategy.CURRENT)
57-
public static class EmbeddedTomcat {
57+
static class EmbeddedTomcat {
5858

5959
@Bean
6060
public TomcatServletWebServerFactory tomcatServletWebServerFactory() {
@@ -69,7 +69,7 @@ public TomcatServletWebServerFactory tomcatServletWebServerFactory() {
6969
@Configuration
7070
@ConditionalOnClass({ Servlet.class, Server.class, Loader.class, WebAppContext.class })
7171
@ConditionalOnMissingBean(value = ServletWebServerFactory.class, search = SearchStrategy.CURRENT)
72-
public static class EmbeddedJetty {
72+
static class EmbeddedJetty {
7373

7474
@Bean
7575
public JettyServletWebServerFactory JettyServletWebServerFactory() {
@@ -84,7 +84,7 @@ public JettyServletWebServerFactory JettyServletWebServerFactory() {
8484
@Configuration
8585
@ConditionalOnClass({ Servlet.class, Undertow.class, SslClientAuthMode.class })
8686
@ConditionalOnMissingBean(value = ServletWebServerFactory.class, search = SearchStrategy.CURRENT)
87-
public static class EmbeddedUndertow {
87+
static class EmbeddedUndertow {
8888

8989
@Bean
9090
public UndertowServletWebServerFactory undertowServletWebServerFactory() {

0 commit comments

Comments
 (0)