Skip to content

Commit b1d70b0

Browse files
committed
Fixup Jetty autoconfigure package ordering
1 parent a1ec842 commit b1d70b0

File tree

14 files changed

+17
-17
lines changed

14 files changed

+17
-17
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/server/jetty/JettyReactiveManagementContextAutoConfiguration.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
2727
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
2828
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type;
29-
import org.springframework.boot.jetty.reactive.autoconfigure.JettyReactiveWebServerAutoConfiguration;
29+
import org.springframework.boot.jetty.autoconfigure.reactive.JettyReactiveWebServerAutoConfiguration;
3030
import org.springframework.boot.web.server.reactive.ReactiveWebServerFactory;
3131
import org.springframework.context.annotation.Bean;
3232

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/server/jetty/JettyServletManagementContextAutoConfiguration.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
2727
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
2828
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type;
29-
import org.springframework.boot.jetty.servlet.autoconfigure.JettyServletWebServerAutoConfiguration;
29+
import org.springframework.boot.jetty.autoconfigure.servlet.JettyServletWebServerAutoConfiguration;
3030
import org.springframework.boot.web.server.servlet.ServletWebServerFactory;
3131
import org.springframework.context.annotation.Bean;
3232

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/web/jetty/JettyMetricsAutoConfigurationTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
import org.springframework.boot.actuate.metrics.web.jetty.JettySslHandshakeMetricsBinder;
2828
import org.springframework.boot.autoconfigure.AutoConfigurations;
2929
import org.springframework.boot.context.event.ApplicationStartedEvent;
30+
import org.springframework.boot.jetty.autoconfigure.reactive.JettyReactiveWebServerAutoConfiguration;
31+
import org.springframework.boot.jetty.autoconfigure.servlet.JettyServletWebServerAutoConfiguration;
3032
import org.springframework.boot.jetty.reactive.JettyReactiveWebServerFactory;
31-
import org.springframework.boot.jetty.reactive.autoconfigure.JettyReactiveWebServerAutoConfiguration;
3233
import org.springframework.boot.jetty.servlet.JettyServletWebServerFactory;
33-
import org.springframework.boot.jetty.servlet.autoconfigure.JettyServletWebServerAutoConfiguration;
3434
import org.springframework.boot.test.context.runner.ReactiveWebApplicationContextRunner;
3535
import org.springframework.boot.test.context.runner.WebApplicationContextRunner;
3636
import org.springframework.boot.testsupport.classpath.resources.WithPackageResources;

spring-boot-project/spring-boot-jetty/src/main/java/org/springframework/boot/jetty/autoconfigure/JettyWebServerConfiguration.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
import org.springframework.boot.autoconfigure.condition.ConditionalOnThreading;
2121
import org.springframework.boot.autoconfigure.thread.Threading;
2222
import org.springframework.boot.autoconfigure.web.ServerProperties;
23-
import org.springframework.boot.jetty.reactive.autoconfigure.JettyReactiveWebServerAutoConfiguration;
24-
import org.springframework.boot.jetty.servlet.autoconfigure.JettyServletWebServerAutoConfiguration;
23+
import org.springframework.boot.jetty.autoconfigure.reactive.JettyReactiveWebServerAutoConfiguration;
24+
import org.springframework.boot.jetty.autoconfigure.servlet.JettyServletWebServerAutoConfiguration;
2525
import org.springframework.context.annotation.Bean;
2626
import org.springframework.context.annotation.Configuration;
2727
import org.springframework.core.env.Environment;
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.jetty.reactive.autoconfigure;
17+
package org.springframework.boot.jetty.autoconfigure.reactive;
1818

1919
import org.eclipse.jetty.ee10.servlet.ServletHolder;
2020
import org.eclipse.jetty.ee10.websocket.jakarta.server.config.JakartaWebSocketServletContainerInitializer;
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.jetty.reactive.autoconfigure;
17+
package org.springframework.boot.jetty.autoconfigure.reactive;
1818

1919
import jakarta.servlet.ServletContext;
2020
import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
/**
1818
* Classes related to the auto-configuration of a reactive web server using Jetty.
1919
*/
20-
package org.springframework.boot.jetty.reactive.autoconfigure;
20+
package org.springframework.boot.jetty.autoconfigure.reactive;
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.jetty.servlet.autoconfigure;
17+
package org.springframework.boot.jetty.autoconfigure.servlet;
1818

1919
import java.util.EnumSet;
2020

Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.jetty.servlet.autoconfigure;
17+
package org.springframework.boot.jetty.autoconfigure.servlet;
1818

1919
import org.eclipse.jetty.ee10.webapp.AbstractConfiguration;
2020
import org.eclipse.jetty.ee10.webapp.WebAppContext;
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
/**
1818
* Classes related to the auto-configuration of a servlet web server using Jetty.
1919
*/
20-
package org.springframework.boot.jetty.servlet.autoconfigure;
20+
package org.springframework.boot.jetty.autoconfigure.servlet;
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
org.springframework.boot.jetty.reactive.autoconfigure.JettyReactiveWebServerAutoConfiguration
2-
org.springframework.boot.jetty.servlet.autoconfigure.JettyServletWebServerAutoConfiguration
1+
org.springframework.boot.jetty.autoconfigure.reactive.JettyReactiveWebServerAutoConfiguration
2+
org.springframework.boot.jetty.autoconfigure.servlet.JettyServletWebServerAutoConfiguration
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.jetty.reactive.autoconfigure;
17+
package org.springframework.boot.jetty.autoconfigure.reactive;
1818

1919
import jakarta.websocket.server.ServerContainer;
2020
import org.eclipse.jetty.ee10.servlet.ServletContextHandler;
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.jetty.servlet.autoconfigure;
17+
package org.springframework.boot.jetty.autoconfigure.servlet;
1818

1919
import java.util.Map;
2020

Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.jetty.servlet.autoconfigure;
17+
package org.springframework.boot.jetty.autoconfigure.servlet;
1818

1919
import jakarta.servlet.ServletContextListener;
2020

0 commit comments

Comments
 (0)