See gh-8148
pull/8127/head
Stephane Nicoll 8 years ago
parent 5c663a9ece
commit 10ca22082b

@ -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. * application will be deduced based on the classpath.
* @param webApplicationType the web application type * @param webApplicationType the web application type
* @since 2.0.0 * @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. * on the classpath if not set.
* @param webApplication the type of web application * @param webApplication the type of web application
* @return the current builder * @return the current builder

@ -258,7 +258,7 @@ public class SpringApplicationTests {
} }
@Test @Test
public void triggersConfigFileApplicationListenereBeforeBinding() throws Exception { public void triggersConfigFileApplicationListenerBeforeBinding() throws Exception {
SpringApplication application = new SpringApplication(ExampleConfig.class); SpringApplication application = new SpringApplication(ExampleConfig.class);
application.setWebEnvironment(false); application.setWebEnvironment(false);
this.context = application.run("--spring.config.name=bindtoapplication"); this.context = application.run("--spring.config.name=bindtoapplication");

Loading…
Cancel
Save