Polish
This commit is contained in:
@@ -2382,7 +2382,7 @@ methods. Dedicated variants exists for Tomcat, Jetty and Undertow.
|
||||
import org.springframework.boot.web.server.WebServerFactoryCustomizer;
|
||||
import org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
|
||||
@Component
|
||||
public class CustomizationBean implements WebServerFactoryCustomizer<ConfigurableServletWebServerFactory> {
|
||||
|
||||
@@ -2390,7 +2390,7 @@ methods. Dedicated variants exists for Tomcat, Jetty and Undertow.
|
||||
public void customize(ConfigurableServletWebServerFactory server) {
|
||||
server.setPort(9000);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user