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
c5fd09d0
Commit
c5fd09d0
authored
May 20, 2020
by
Scott Frederick
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.2.x'
Closes gh-21522
parents
14ba7442
4a812fc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
ServletWebServerApplicationContext.java
...b/servlet/context/ServletWebServerApplicationContext.java
+1
-2
No files found.
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/context/ServletWebServerApplicationContext.java
View file @
c5fd09d0
...
@@ -50,7 +50,6 @@ import org.springframework.context.ApplicationContext;
...
@@ -50,7 +50,6 @@ import org.springframework.context.ApplicationContext;
import
org.springframework.context.ApplicationContextException
;
import
org.springframework.context.ApplicationContextException
;
import
org.springframework.core.io.Resource
;
import
org.springframework.core.io.Resource
;
import
org.springframework.util.StringUtils
;
import
org.springframework.util.StringUtils
;
import
org.springframework.web.context.ContextLoader
;
import
org.springframework.web.context.ContextLoaderListener
;
import
org.springframework.web.context.ContextLoaderListener
;
import
org.springframework.web.context.ServletContextAware
;
import
org.springframework.web.context.ServletContextAware
;
import
org.springframework.web.context.WebApplicationContext
;
import
org.springframework.web.context.WebApplicationContext
;
...
@@ -87,6 +86,7 @@ import org.springframework.web.context.support.WebApplicationContextUtils;
...
@@ -87,6 +86,7 @@ import org.springframework.web.context.support.WebApplicationContextUtils;
*
*
* @author Phillip Webb
* @author Phillip Webb
* @author Dave Syer
* @author Dave Syer
* @author Scott Frederick
* @since 2.0.0
* @since 2.0.0
* @see AnnotationConfigServletWebServerApplicationContext
* @see AnnotationConfigServletWebServerApplicationContext
* @see XmlServletWebServerApplicationContext
* @see XmlServletWebServerApplicationContext
...
@@ -270,7 +270,6 @@ public class ServletWebServerApplicationContext extends GenericWebApplicationCon
...
@@ -270,7 +270,6 @@ public class ServletWebServerApplicationContext extends GenericWebApplicationCon
}
}
return
;
return
;
}
}
Log
logger
=
LogFactory
.
getLog
(
ContextLoader
.
class
);
servletContext
.
log
(
"Initializing Spring embedded WebApplicationContext"
);
servletContext
.
log
(
"Initializing Spring embedded WebApplicationContext"
);
try
{
try
{
servletContext
.
setAttribute
(
WebApplicationContext
.
ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE
,
this
);
servletContext
.
setAttribute
(
WebApplicationContext
.
ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE
,
this
);
...
...
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