Skip to content

Commit 5b0f22e

Browse files
committed
Fix unintended import on commons lang
Closes gh-23059
1 parent c2b69d5 commit 5b0f22e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/embedded/UndertowWebServerFactoryCustomizer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import java.util.function.Function;
2727

2828
import io.undertow.UndertowOptions;
29-
import org.apache.commons.lang.ClassUtils;
3029
import org.xnio.Option;
3130
import org.xnio.Options;
3231

@@ -40,6 +39,7 @@
4039
import org.springframework.core.Ordered;
4140
import org.springframework.core.env.Environment;
4241
import org.springframework.util.Assert;
42+
import org.springframework.util.ClassUtils;
4343
import org.springframework.util.ReflectionUtils;
4444
import org.springframework.util.unit.DataSize;
4545

@@ -170,7 +170,7 @@ <T> Consumer<Map<String, String>> forEach(Function<Option<T>, Consumer<T>> funct
170170
map.forEach((key, value) -> {
171171
Option<T> option = (Option<T>) this.nameLookup.get(getCanonicalName(key));
172172
Assert.state(option != null,
173-
"Unable to find '" + key + "' in " + ClassUtils.getShortClassName(this.source));
173+
"Unable to find '" + key + "' in " + ClassUtils.getShortName(this.source));
174174
T parsed = option.parseValue(value, getClass().getClassLoader());
175175
function.apply(option).accept(parsed);
176176
});

0 commit comments

Comments
 (0)