Closes gh-9827
This commit is contained in:
Johnny Lim 2017-07-21 23:24:13 +09:00 committed by Andy Wilkinson
parent 18cfd9d3dd
commit bd27d147d7
6 changed files with 10 additions and 10 deletions

View File

@ -1,7 +1,7 @@
= Getting support for Spring Boot
== GitHub issues
We choose not use GitHub issues for general usage questions and support, prefering to
We choose not use GitHub issues for general usage questions and support, preferring to
use issues solely for the tracking of bugs and enhancements. If you have a general
usage question please do not open a GitHub issue, but use one of the other channels
described below.
@ -24,4 +24,4 @@ https://gitter.im/spring-projects/spring-boot[#spring-boot room on Gitter].
== Pivotal Open Source Software Support
If you are interested in more dedicated support, Pivotal provides
https://pivotal.io/support/oss[premium support] for Spring Boot.
https://pivotal.io/support/oss[premium support] for Spring Boot.

View File

@ -31,7 +31,7 @@ import org.springframework.util.ClassUtils;
/**
* {@link Configurations} representing auto-configuration {@code @Configuration} classes.
*
* @author Philip Webb
* @author Phillip Webb
* @since 2.0.0
*/
public class AutoConfigurations extends Configurations implements Ordered {

View File

@ -670,7 +670,7 @@ public class KafkaProperties {
SINGLE,
/**
* Invokes the endpoint with a batch of ConsumerRecord.
* Invokes the endpoint with a batch of ConsumerRecords.
*/
BATCH;

View File

@ -55,7 +55,7 @@ import org.springframework.util.ReflectionUtils;
* <pre class="code">
* &#064;Test
* public someTest() {
* this.contex.withPropertyValues("spring.foo=biz").run((loaded) -&gt; {
* this.context.withPropertyValues("spring.foo=biz").run((loaded) -&gt; {
* assertThat(loaded).containsSingleBean(MyBean.class);
* // other assertions
* });
@ -73,8 +73,8 @@ import org.springframework.util.ReflectionUtils;
* further checks are required on the cause of the failure: <pre class="code">
* &#064;Test
* public someTest() {
* this.contex.withPropertyValues("spring.foo=fails").run((loaded) -&gt; {
* assertThat(loaded).getFailure().hasCauseInstanceOf(BadPropertyExcepton.class);
* this.context.withPropertyValues("spring.foo=fails").run((loaded) -&gt; {
* assertThat(loaded).getFailure().hasCauseInstanceOf(BadPropertyException.class);
* // other assertions
* });
* }</pre>

View File

@ -64,7 +64,7 @@ public class AssertProviderApplicationContextTests {
}
@Test
public void getWhenTypeIsNullShouldThrowExecption() throws Exception {
public void getWhenTypeIsNullShouldThrowException() throws Exception {
this.thrown.expect(IllegalArgumentException.class);
this.thrown.expectMessage("Type must not be null");
AssertProviderApplicationContext.get(null, ApplicationContext.class,

View File

@ -98,7 +98,7 @@ public abstract class Configurations {
protected abstract Configurations merge(Set<Class<?>> mergedClasses);
/**
* Return the classes from all the specified configurations in the oder that they
* Return the classes from all the specified configurations in the order that they
* would be registered.
* @param configurations the source configuration
* @return configuration classes in registration order
@ -108,7 +108,7 @@ public abstract class Configurations {
}
/**
* Return the classes from all the specified configurations in the oder that they
* Return the classes from all the specified configurations in the order that they
* would be registered.
* @param configurations the source configuration
* @return configuration classes in registration order