From 10ca22082b031b6edc5e6d6def05da76425924f9 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 1 Feb 2017 09:11:09 +0100 Subject: [PATCH] Polish See gh-8148 --- .../main/java/org/springframework/boot/SpringApplication.java | 2 +- .../springframework/boot/builder/SpringApplicationBuilder.java | 2 +- .../java/org/springframework/boot/SpringApplicationTests.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java b/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java index 30730a6601..b8d2585fd9 100644 --- a/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java +++ b/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java @@ -986,7 +986,7 @@ public class SpringApplication { } /** - * Sets the type of web application to be run. If not explicity set the type of web + * Sets the type of web application to be run. If not explicitly set the type of web * application will be deduced based on the classpath. * @param webApplicationType the web application type * @since 2.0.0 diff --git a/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java b/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java index c9ae80cd69..34b8b8506a 100644 --- a/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java +++ b/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java @@ -306,7 +306,7 @@ public class SpringApplicationBuilder { } /** - * Flag to explicity request a specific type of web application. Auto-detected based + * Flag to explicitly request a specific type of web application. Auto-detected based * on the classpath if not set. * @param webApplication the type of web application * @return the current builder diff --git a/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java b/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java index 1d519ee253..a8f4ae5832 100644 --- a/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java +++ b/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java @@ -258,7 +258,7 @@ public class SpringApplicationTests { } @Test - public void triggersConfigFileApplicationListenereBeforeBinding() throws Exception { + public void triggersConfigFileApplicationListenerBeforeBinding() throws Exception { SpringApplication application = new SpringApplication(ExampleConfig.class); application.setWebEnvironment(false); this.context = application.run("--spring.config.name=bindtoapplication");