Merge pull request #9438 from izeye:polish-20170609

* pr/9438:
  Polish
pull/9438/merge
Stephane Nicoll 8 years ago
commit a7f51c0d14

@ -56,7 +56,7 @@ public class ElasticsearchDataAutoConfigurationTests {
ElasticsearchAutoConfiguration.class, ElasticsearchAutoConfiguration.class,
ElasticsearchDataAutoConfiguration.class); ElasticsearchDataAutoConfiguration.class);
this.context.refresh(); this.context.refresh();
asssertHasSingleBean(ElasticsearchTemplate.class); assertHasSingleBean(ElasticsearchTemplate.class);
} }
@Test @Test
@ -70,7 +70,7 @@ public class ElasticsearchDataAutoConfigurationTests {
ElasticsearchAutoConfiguration.class, ElasticsearchAutoConfiguration.class,
ElasticsearchDataAutoConfiguration.class); ElasticsearchDataAutoConfiguration.class);
this.context.refresh(); this.context.refresh();
asssertHasSingleBean(SimpleElasticsearchMappingContext.class); assertHasSingleBean(SimpleElasticsearchMappingContext.class);
} }
@Test @Test
@ -84,10 +84,10 @@ public class ElasticsearchDataAutoConfigurationTests {
ElasticsearchAutoConfiguration.class, ElasticsearchAutoConfiguration.class,
ElasticsearchDataAutoConfiguration.class); ElasticsearchDataAutoConfiguration.class);
this.context.refresh(); this.context.refresh();
asssertHasSingleBean(ElasticsearchConverter.class); assertHasSingleBean(ElasticsearchConverter.class);
} }
private void asssertHasSingleBean(Class<?> type) { private void assertHasSingleBean(Class<?> type) {
assertThat(this.context.getBeanNamesForType(type)).hasSize(1); assertThat(this.context.getBeanNamesForType(type)).hasSize(1);
} }

@ -714,7 +714,7 @@ content into your application; rather pick only the properties that you need.
spring.h2.console.settings.trace=false # Enable trace output. spring.h2.console.settings.trace=false # Enable trace output.
spring.h2.console.settings.web-allow-others=false # Enable remote access. spring.h2.console.settings.web-allow-others=false # Enable remote access.
# InfluxDB ({sc-spring-boot-autoconfigure}/influx/InfluxProperties.{sc-ext}[InfluxProperties]) # InfluxDB ({sc-spring-boot-autoconfigure}/influx/InfluxDbProperties.{sc-ext}[InfluxDbProperties])
spring.influx.password= # Login password. spring.influx.password= # Login password.
spring.influx.url= # Url of the InfluxDB instance to connect to. spring.influx.url= # Url of the InfluxDB instance to connect to.
spring.influx.user= # Login user. spring.influx.user= # Login user.

@ -620,7 +620,7 @@ typically in `application.properties` or `application.yml`. For example:
server.ssl.key-password=another-secret server.ssl.key-password=another-secret
---- ----
See {sc-spring-boot}/context/embedded/Ssl.{sc-ext}[`Ssl`] for details of all of the See {sc-spring-boot}/web/server/Ssl.{sc-ext}[`Ssl`] for details of all of the
supported properties. supported properties.
Using configuration like the example above means the application will no longer support Using configuration like the example above means the application will no longer support

@ -44,7 +44,7 @@ public class SystemEnvironmentPropertySourceEnvironmentPostProcessorTests {
} }
@Test @Test
public void postProcessShouldReplaceSystemEnviromentPropertySource() public void postProcessShouldReplaceSystemEnvironmentPropertySource()
throws Exception { throws Exception {
SystemEnvironmentPropertySourceEnvironmentPostProcessor postProcessor = new SystemEnvironmentPropertySourceEnvironmentPostProcessor(); SystemEnvironmentPropertySourceEnvironmentPostProcessor postProcessor = new SystemEnvironmentPropertySourceEnvironmentPostProcessor();
postProcessor.postProcessEnvironment(this.environment, null); postProcessor.postProcessEnvironment(this.environment, null);

Loading…
Cancel
Save