diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/embedded/UndertowWebServerFactoryCustomizer.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/embedded/UndertowWebServerFactoryCustomizer.java index ffdd39fa10..bff6492c6a 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/embedded/UndertowWebServerFactoryCustomizer.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/embedded/UndertowWebServerFactoryCustomizer.java @@ -167,8 +167,7 @@ public class UndertowWebServerFactoryCustomizer Consumer> forEach(Function, Consumer> function) { return (map) -> map.forEach((key, value) -> { Option option = (Option) this.nameLookup.get(getCanonicalName(key)); - Assert.state(option != null, - "Unable to find '" + key + "' in " + ClassUtils.getShortName(this.source)); + Assert.state(option != null, "Unable to find '" + key + "' in " + ClassUtils.getShortName(this.source)); T parsed = option.parseValue(value, getClass().getClassLoader()); function.apply(option).accept(parsed); });