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
135ebb8d
Commit
135ebb8d
authored
Jan 24, 2016
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5013 from izeye/polish-20160123
* pr/5013: Polish
parents
4c1bb388
9a31e028
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
MustacheViewResolverTests.java
...autoconfigure/mustache/web/MustacheViewResolverTests.java
+1
-1
spring-boot-features.adoc
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+2
-2
LaunchVerificationController.java
...ework/boot/launchscript/LaunchVerificationController.java
+1
-1
SpringApplication.java
...main/java/org/springframework/boot/SpringApplication.java
+2
-2
No files found.
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/mustache/web/MustacheViewResolverTests.java
View file @
135ebb8d
...
@@ -16,10 +16,10 @@
...
@@ -16,10 +16,10 @@
package
org
.
springframework
.
boot
.
autoconfigure
.
mustache
.
web
;
package
org
.
springframework
.
boot
.
autoconfigure
.
mustache
.
web
;
import
java.io.ByteArrayInputStream
;
import
java.io.InputStream
;
import
java.io.InputStream
;
import
java.util.Locale
;
import
java.util.Locale
;
import
org.fusesource.hawtbuf.ByteArrayInputStream
;
import
org.junit.Before
;
import
org.junit.Before
;
import
org.junit.Test
;
import
org.junit.Test
;
...
...
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
View file @
135ebb8d
...
@@ -1824,8 +1824,8 @@ inside a war will break Spring Boot applications.
...
@@ -1824,8 +1824,8 @@ inside a war will break Spring Boot applications.
If you need to perform servlet context initialization in a Spring Boot application, you
If you need to perform servlet context initialization in a Spring Boot application, you
should register a bean that implements the
should register a bean that implements the
`org.springframework.boot.context.embedded.ServletContextInitializer` interface. The
`org.springframework.boot.context.embedded.ServletContextInitializer` interface. The
single `onStartup` method provides access to the `ServletContext`, and
can easily be used
single `onStartup` method provides access to the `ServletContext`, and can easily be used
as an adapter to an existing `WebApplicationInitializer if necessary.
as an adapter to an existing `WebApplicationInitializer
`
if necessary.
...
...
spring-boot-integration-tests/spring-boot-launch-script-tests/src/main/java/org/springframework/boot/launchscript/LaunchVerficationController.java
→
spring-boot-integration-tests/spring-boot-launch-script-tests/src/main/java/org/springframework/boot/launchscript/LaunchVer
i
ficationController.java
View file @
135ebb8d
...
@@ -20,7 +20,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
...
@@ -20,7 +20,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
@RestController
@RestController
public
class
LaunchVerficationController
{
public
class
LaunchVer
i
ficationController
{
@RequestMapping
(
"/"
)
@RequestMapping
(
"/"
)
public
String
verifyLaunch
()
{
public
String
verifyLaunch
()
{
...
...
spring-boot/src/main/java/org/springframework/boot/SpringApplication.java
View file @
135ebb8d
...
@@ -829,7 +829,7 @@ public class SpringApplication {
...
@@ -829,7 +829,7 @@ public class SpringApplication {
}
}
try
{
try
{
try
{
try
{
handeExitCode
(
context
,
exception
);
hand
l
eExitCode
(
context
,
exception
);
listeners
.
finished
(
context
,
exception
);
listeners
.
finished
(
context
,
exception
);
}
}
finally
{
finally
{
...
@@ -856,7 +856,7 @@ public class SpringApplication {
...
@@ -856,7 +856,7 @@ public class SpringApplication {
}
}
}
}
private
void
handeExitCode
(
ConfigurableApplicationContext
context
,
private
void
hand
l
eExitCode
(
ConfigurableApplicationContext
context
,
Throwable
exception
)
{
Throwable
exception
)
{
int
exitCode
=
getExitCodeFromException
(
context
,
exception
);
int
exitCode
=
getExitCodeFromException
(
context
,
exception
);
if
(
exitCode
!=
0
)
{
if
(
exitCode
!=
0
)
{
...
...
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