Polish
See gh-8148
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user