Skip to content
Closed

Polish #9827

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SUPPORT.adoc
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
/**
* {@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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
/**
* {@link Conditional} that only matches when the specified bean classes and/or names are
* already contained in the {@link BeanFactory}. When placed on a {@code @Bean} method,
* the bean class default to the return type of the factory method:
* the bean class defaults to the return type of the factory method:
*
* <pre class="code">
* &#064;Configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* {@link Conditional} that only matches when the specified bean classes and/or names are
* not already contained in the {@link BeanFactory}.
* <p>
* When placed on a {@code @Bean} method, the bean class default to the return type of the
* When placed on a {@code @Bean} method, the bean class defaults to the return type of the
* factory method:
*
* <pre class="code">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ public enum Type {
SINGLE,

/**
* Invokes the endpoint with a batch of ConsumerRecord.
* Invokes the endpoint with a batch of ConsumerRecords.
*/
BATCH;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
* <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
* });
Expand All @@ -73,8 +73,8 @@
* 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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void setup() {
}

@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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ protected Configurations merge(Configurations other) {
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
Expand All @@ -108,7 +108,7 @@ public static Class<?>[] getClasses(Configurations... 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
Expand Down