From 7a5392d6bd909d06d6800de37095a763939d0109 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 25 Aug 2020 09:45:40 +0100 Subject: [PATCH] Polish --- .../web/embedded/UndertowWebServerFactoryCustomizer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); });