Skip to content

Polish #14597

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Polish #14597

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
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/**
* Tests for {@link DynatracePropertiesConfigAdapter}.
*
* @author Andy Wilkiknson
* @author Andy Wilkinson
*/
public class DynatracePropertiesConfigAdapterTests {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/**
* Tests for {@link ElasticPropertiesConfigAdapter}.
*
* @author Andy Wilkiknson
* @author Andy Wilkinson
*/
public class ElasticPropertiesConfigAdapterTests {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ public class ReactiveOAuth2ClientAutoConfigurationTests {

@Test
public void autoConfigurationShouldBackOffForServletEnvironments() {
WebApplicationContextRunner contextRunner = new WebApplicationContextRunner()
new WebApplicationContextRunner()
.withConfiguration(AutoConfigurations
.of(ReactiveOAuth2ClientAutoConfiguration.class));
contextRunner.run((context) -> assertThat(context)
.doesNotHaveBean(ReactiveOAuth2ClientAutoConfiguration.class));
.of(ReactiveOAuth2ClientAutoConfiguration.class))
.run((context) -> assertThat(context)
.doesNotHaveBean(ReactiveOAuth2ClientAutoConfiguration.class));
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import org.springframework.boot.context.event.ApplicationPreparedEvent;
import org.springframework.boot.logging.DeferredLog;
import org.springframework.context.ApplicationListener;
import org.springframework.data.domain.AbstractPageRequest;

/**
* Devtools deferred logging support.
Expand All @@ -41,8 +40,8 @@ private DevToolsLogFactory() {

/**
* Get a {@link Log} instance for the specified source that will be automatically
* {@link DeferredLog#switchTo(Class) switched} then the {@link AbstractPageRequest
* context is prepared}.
* {@link DeferredLog#switchTo(Class) switched} when the
* {@link ApplicationPreparedEvent context is prepared}.
* @param source the source for logging
* @return a {@link DeferredLog} instance
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7163,7 +7163,7 @@ If you prefer your test to run against a real database, you can use the
==== Auto-configured Data JDBC Tests
`@DataJdbcTest` is similar to `@JdbcTest` but is for tests that use Spring Data JDBC
repositories. By default, it configures an in-memory embedded database, a `JdbcTemplate`,
and Spring Data JDBD repositories. Regular `@Component` beans are not loaded into
and Spring Data JDBC repositories. Regular `@Component` beans are not loaded into
the `ApplicationContext`.

TIP: A list of the auto-configurations that are enabled by `@DataJdbcTest` can be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void annotatedClass() throws Exception {
}

@Test
public void annoatedClassWithOnBeanThatHasName() throws Exception {
public void annotatedClassWithOnBeanThatHasName() throws Exception {
Properties properties = compile(TestOnBeanWithNameClassConfiguration.class);
assertThat(properties).hasSize(3);
assertThat(properties).containsEntry(
Expand Down