Skip to content

Commit 135ebb8

Browse files
committed
Merge pull request spring-projects#5013 from izeye/polish-20160123
* pr/5013: Polish
2 parents 4c1bb38 + 9a31e02 commit 135ebb8

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/mustache/web/MustacheViewResolverTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616

1717
package org.springframework.boot.autoconfigure.mustache.web;
1818

19+
import java.io.ByteArrayInputStream;
1920
import java.io.InputStream;
2021
import java.util.Locale;
2122

22-
import org.fusesource.hawtbuf.ByteArrayInputStream;
2323
import org.junit.Before;
2424
import org.junit.Test;
2525

spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1824,8 +1824,8 @@ inside a war will break Spring Boot applications.
18241824
If you need to perform servlet context initialization in a Spring Boot application, you
18251825
should register a bean that implements the
18261826
`org.springframework.boot.context.embedded.ServletContextInitializer` interface. The
1827-
single `onStartup` method provides access to the `ServletContext`, and can easily be used
1828-
as an adapter to an existing `WebApplicationInitializer if necessary.
1827+
single `onStartup` method provides access to the `ServletContext`, and can easily be used
1828+
as an adapter to an existing `WebApplicationInitializer` if necessary.
18291829

18301830

18311831

Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.springframework.web.bind.annotation.RestController;
2121

2222
@RestController
23-
public class LaunchVerficationController {
23+
public class LaunchVerificationController {
2424

2525
@RequestMapping("/")
2626
public String verifyLaunch() {

spring-boot/src/main/java/org/springframework/boot/SpringApplication.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ private void handleRunFailure(ConfigurableApplicationContext context,
829829
}
830830
try {
831831
try {
832-
handeExitCode(context, exception);
832+
handleExitCode(context, exception);
833833
listeners.finished(context, exception);
834834
}
835835
finally {
@@ -856,7 +856,7 @@ protected void registerLoggedException(Throwable exception) {
856856
}
857857
}
858858

859-
private void handeExitCode(ConfigurableApplicationContext context,
859+
private void handleExitCode(ConfigurableApplicationContext context,
860860
Throwable exception) {
861861
int exitCode = getExitCodeFromException(context, exception);
862862
if (exitCode != 0) {

0 commit comments

Comments
 (0)