Skip to content

Commit

Permalink
Merge pull request spring-projects#5013 from izeye/polish-20160123
Browse files Browse the repository at this point in the history
* pr/5013:
  Polish
  • Loading branch information
snicoll committed Jan 24, 2016
2 parents 4c1bb38 + 9a31e02 commit 135ebb8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
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.
single `onStartup` method provides access to the `ServletContext`, and can easily be used
as an adapter to an existing `WebApplicationInitializer` if necessary.



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LaunchVerficationController {
public class LaunchVerificationController {

@RequestMapping("/")
public String verifyLaunch() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ private void handleRunFailure(ConfigurableApplicationContext context,
}
try {
try {
handeExitCode(context, exception);
handleExitCode(context, exception);
listeners.finished(context, exception);
}
finally {
Expand All @@ -856,7 +856,7 @@ protected void registerLoggedException(Throwable exception) {
}
}

private void handeExitCode(ConfigurableApplicationContext context,
private void handleExitCode(ConfigurableApplicationContext context,
Throwable exception) {
int exitCode = getExitCodeFromException(context, exception);
if (exitCode != 0) {
Expand Down

0 comments on commit 135ebb8

Please sign in to comment.