Polish name of JettyServletWebServerFactory bean method

See gh-34421
pull/34619/head
1993heqiang 2 years ago committed by Andy Wilkinson
parent dee145d873
commit a3bb3b1510

@ -94,7 +94,7 @@ class ServletWebServerFactoryConfiguration {
static class EmbeddedJetty { static class EmbeddedJetty {
@Bean @Bean
JettyServletWebServerFactory JettyServletWebServerFactory( JettyServletWebServerFactory jettyServletWebServerFactory(
ObjectProvider<JettyServerCustomizer> serverCustomizers) { ObjectProvider<JettyServerCustomizer> serverCustomizers) {
JettyServletWebServerFactory factory = new JettyServletWebServerFactory(); JettyServletWebServerFactory factory = new JettyServletWebServerFactory();
factory.getServerCustomizers().addAll(serverCustomizers.orderedStream().collect(Collectors.toList())); factory.getServerCustomizers().addAll(serverCustomizers.orderedStream().collect(Collectors.toList()));

Loading…
Cancel
Save