Skip to content

Commit a4263b8

Browse files
committed
Merge pull request #14597 from izeye
* pr/14597: Polish
2 parents c403ac9 + 698bbd6 commit a4263b8

File tree

6 files changed

+10
-11
lines changed

6 files changed

+10
-11
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/export/dynatrace/DynatracePropertiesConfigAdapterTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/**
2424
* Tests for {@link DynatracePropertiesConfigAdapter}.
2525
*
26-
* @author Andy Wilkiknson
26+
* @author Andy Wilkinson
2727
*/
2828
public class DynatracePropertiesConfigAdapterTests {
2929

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/export/elastic/ElasticPropertiesConfigAdapterTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/**
2424
* Tests for {@link ElasticPropertiesConfigAdapter}.
2525
*
26-
* @author Andy Wilkiknson
26+
* @author Andy Wilkinson
2727
*/
2828
public class ElasticPropertiesConfigAdapterTests {
2929

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/security/oauth2/client/reactive/ReactiveOAuth2ClientAutoConfigurationTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ public class ReactiveOAuth2ClientAutoConfigurationTests {
5656

5757
@Test
5858
public void autoConfigurationShouldBackOffForServletEnvironments() {
59-
WebApplicationContextRunner contextRunner = new WebApplicationContextRunner()
59+
new WebApplicationContextRunner()
6060
.withConfiguration(AutoConfigurations
61-
.of(ReactiveOAuth2ClientAutoConfiguration.class));
62-
contextRunner.run((context) -> assertThat(context)
63-
.doesNotHaveBean(ReactiveOAuth2ClientAutoConfiguration.class));
61+
.of(ReactiveOAuth2ClientAutoConfiguration.class))
62+
.run((context) -> assertThat(context)
63+
.doesNotHaveBean(ReactiveOAuth2ClientAutoConfiguration.class));
6464
}
6565

6666
@Test

spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/logger/DevToolsLogFactory.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import org.springframework.boot.context.event.ApplicationPreparedEvent;
2525
import org.springframework.boot.logging.DeferredLog;
2626
import org.springframework.context.ApplicationListener;
27-
import org.springframework.data.domain.AbstractPageRequest;
2827

2928
/**
3029
* Devtools deferred logging support.
@@ -41,8 +40,8 @@ private DevToolsLogFactory() {
4140

4241
/**
4342
* Get a {@link Log} instance for the specified source that will be automatically
44-
* {@link DeferredLog#switchTo(Class) switched} then the {@link AbstractPageRequest
45-
* context is prepared}.
43+
* {@link DeferredLog#switchTo(Class) switched} when the
44+
* {@link ApplicationPreparedEvent context is prepared}.
4645
* @param source the source for logging
4746
* @return a {@link DeferredLog} instance
4847
*/

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7163,7 +7163,7 @@ If you prefer your test to run against a real database, you can use the
71637163
==== Auto-configured Data JDBC Tests
71647164
`@DataJdbcTest` is similar to `@JdbcTest` but is for tests that use Spring Data JDBC
71657165
repositories. By default, it configures an in-memory embedded database, a `JdbcTemplate`,
7166-
and Spring Data JDBD repositories. Regular `@Component` beans are not loaded into
7166+
and Spring Data JDBC repositories. Regular `@Component` beans are not loaded into
71677167
the `ApplicationContext`.
71687168

71697169
TIP: A list of the auto-configurations that are enabled by `@DataJdbcTest` can be

spring-boot-project/spring-boot-tools/spring-boot-autoconfigure-processor/src/test/java/org/springframework/boot/autoconfigureprocessor/AutoConfigureAnnotationProcessorTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public void annotatedClass() throws Exception {
8080
}
8181

8282
@Test
83-
public void annoatedClassWithOnBeanThatHasName() throws Exception {
83+
public void annotatedClassWithOnBeanThatHasName() throws Exception {
8484
Properties properties = compile(TestOnBeanWithNameClassConfiguration.class);
8585
assertThat(properties).hasSize(3);
8686
assertThat(properties).containsEntry(

0 commit comments

Comments
 (0)