Commit 9a31e028 authored by Johnny Lim's avatar Johnny Lim Committed by Stephane Nicoll

Polish

Closes gh-5013
parent 4c1bb388
......@@ -16,10 +16,10 @@
package org.springframework.boot.autoconfigure.mustache.web;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.util.Locale;
import org.fusesource.hawtbuf.ByteArrayInputStream;
import org.junit.Before;
import org.junit.Test;
......
......@@ -1825,7 +1825,7 @@ If you need to perform servlet context initialization in a Spring Boot applicati
should register a bean that implements the
`org.springframework.boot.context.embedded.ServletContextInitializer` interface. The
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.
......
......@@ -20,7 +20,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class LaunchVerficationController {
public class LaunchVerificationController {
@RequestMapping("/")
public String verifyLaunch() {
......
......@@ -829,7 +829,7 @@ public class SpringApplication {
}
try {
try {
handeExitCode(context, exception);
handleExitCode(context, exception);
listeners.finished(context, exception);
}
finally {
......@@ -856,7 +856,7 @@ public class SpringApplication {
}
}
private void handeExitCode(ConfigurableApplicationContext context,
private void handleExitCode(ConfigurableApplicationContext context,
Throwable exception) {
int exitCode = getExitCodeFromException(context, exception);
if (exitCode != 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment