Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
5b0f22e8
Commit
5b0f22e8
authored
Aug 24, 2020
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix unintended import on commons lang
Closes gh-23059
parent
c2b69d56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
UndertowWebServerFactoryCustomizer.java
...gure/web/embedded/UndertowWebServerFactoryCustomizer.java
+2
-2
No files found.
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/embedded/UndertowWebServerFactoryCustomizer.java
View file @
5b0f22e8
...
...
@@ -26,7 +26,6 @@ import java.util.function.Consumer;
import
java.util.function.Function
;
import
io.undertow.UndertowOptions
;
import
org.apache.commons.lang.ClassUtils
;
import
org.xnio.Option
;
import
org.xnio.Options
;
...
...
@@ -40,6 +39,7 @@ import org.springframework.boot.web.server.WebServerFactoryCustomizer;
import
org.springframework.core.Ordered
;
import
org.springframework.core.env.Environment
;
import
org.springframework.util.Assert
;
import
org.springframework.util.ClassUtils
;
import
org.springframework.util.ReflectionUtils
;
import
org.springframework.util.unit.DataSize
;
...
...
@@ -170,7 +170,7 @@ public class UndertowWebServerFactoryCustomizer
map
.
forEach
((
key
,
value
)
->
{
Option
<
T
>
option
=
(
Option
<
T
>)
this
.
nameLookup
.
get
(
getCanonicalName
(
key
));
Assert
.
state
(
option
!=
null
,
"Unable to find '"
+
key
+
"' in "
+
ClassUtils
.
getShort
Class
Name
(
this
.
source
));
"Unable to find '"
+
key
+
"' in "
+
ClassUtils
.
getShortName
(
this
.
source
));
T
parsed
=
option
.
parseValue
(
value
,
getClass
().
getClassLoader
());
function
.
apply
(
option
).
accept
(
parsed
);
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment