diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/jpa/JpaRepositoriesAutoConfiguration.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/jpa/JpaRepositoriesAutoConfiguration.java index 09aaff4e33..2538e04b5c 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/jpa/JpaRepositoriesAutoConfiguration.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/jpa/JpaRepositoriesAutoConfiguration.java @@ -71,7 +71,7 @@ public class JpaRepositoriesAutoConfiguration { @Bean @Conditional(BootstrapExecutorCondition.class) - public EntityManagerFactoryBuilderCustomizer entityManagerFactoryBoostrapExecutorCustomizer( + public EntityManagerFactoryBuilderCustomizer entityManagerFactoryBootstrapExecutorCustomizer( ObjectProvider taskExecutor) { return (builder) -> builder.setBootstrapExecutor(taskExecutor.getIfAvailable()); } diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/jpa/JpaRepositoriesAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/jpa/JpaRepositoriesAutoConfigurationTests.java index 2865daca97..65da36a2e9 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/jpa/JpaRepositoriesAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/jpa/JpaRepositoriesAutoConfigurationTests.java @@ -87,7 +87,7 @@ public class JpaRepositoriesAutoConfigurationTests { } @Test - public void whenBootstrappingModeIsLazyBoostrapExecutorIsConfigured() { + public void whenBootstrappingModeIsLazyBootstrapExecutorIsConfigured() { this.contextRunner.withUserConfiguration(TestConfiguration.class) .withPropertyValues("spring.data.jpa.repositories.bootstrap-mode=lazy") .run((context) -> assertThat( @@ -96,7 +96,7 @@ public class JpaRepositoriesAutoConfigurationTests { } @Test - public void whenBootstrappingModeIsDeferredBoostrapExecutorIsConfigured() { + public void whenBootstrappingModeIsDeferredBootstrapExecutorIsConfigured() { this.contextRunner.withUserConfiguration(TestConfiguration.class) .withPropertyValues( "spring.data.jpa.repositories.bootstrap-mode=deferred") @@ -106,7 +106,7 @@ public class JpaRepositoriesAutoConfigurationTests { } @Test - public void whenBootstrappingModeIsDefaultBoostrapExecutorIsNotConfigured() { + public void whenBootstrappingModeIsDefaultBootstrapExecutorIsNotConfigured() { this.contextRunner.withUserConfiguration(TestConfiguration.class) .withPropertyValues("spring.data.jpa.repositories.bootstrap-mode=default") .run((context) -> assertThat( diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/task/TaskSchedulingAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/task/TaskSchedulingAutoConfigurationTests.java index 9f3824fd41..6ce10dcc18 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/task/TaskSchedulingAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/task/TaskSchedulingAutoConfigurationTests.java @@ -54,7 +54,7 @@ public class TaskSchedulingAutoConfigurationTests { } @Test - public void enableSchedulingWithNoTakExecutorAutoConfiguresOne() { + public void enableSchedulingWithNoTaskExecutorAutoConfiguresOne() { this.contextRunner .withPropertyValues( "spring.task.scheduling.thread-name-prefix=scheduling-test-") @@ -68,7 +68,7 @@ public class TaskSchedulingAutoConfigurationTests { } @Test - public void enableSchedulingWithNoTakExecutorAppliesCustomizers() { + public void enableSchedulingWithNoTaskExecutorAppliesCustomizers() { this.contextRunner .withPropertyValues( "spring.task.scheduling.thread-name-prefix=scheduling-test-") @@ -84,7 +84,7 @@ public class TaskSchedulingAutoConfigurationTests { } @Test - public void enableSchedulingWithExistingTakSchedulerBacksOff() { + public void enableSchedulingWithExistingTaskSchedulerBacksOff() { this.contextRunner.withUserConfiguration(SchedulingConfiguration.class, TaskSchedulerConfiguration.class).run((context) -> { assertThat(context).hasSingleBean(TaskScheduler.class); diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/ldap/DataLdapTestPropertiesIntegrationTests.java b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/ldap/DataLdapTestPropertiesIntegrationTests.java index 3eaa4334d1..df32e11429 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/ldap/DataLdapTestPropertiesIntegrationTests.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/ldap/DataLdapTestPropertiesIntegrationTests.java @@ -39,7 +39,7 @@ public class DataLdapTestPropertiesIntegrationTests { private Environment environment; @Test - public void environmentWitNewProfile() { + public void environmentWithNewProfile() { String profile = this.environment.getActiveProfiles()[0]; assertThat(profile).isEqualTo("test"); } diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/mongo/DataMongoTestPropertiesIntegrationTests.java b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/mongo/DataMongoTestPropertiesIntegrationTests.java index 78016e0323..c3f298993e 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/mongo/DataMongoTestPropertiesIntegrationTests.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/mongo/DataMongoTestPropertiesIntegrationTests.java @@ -39,7 +39,7 @@ public class DataMongoTestPropertiesIntegrationTests { private Environment environment; @Test - public void environmentWitNewProfile() { + public void environmentWithNewProfile() { String profile = this.environment.getActiveProfiles()[0]; assertThat(profile).isEqualTo("test"); } diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTestPropertiesIntegrationTests.java b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTestPropertiesIntegrationTests.java index 592bc8500e..161f2dce53 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTestPropertiesIntegrationTests.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTestPropertiesIntegrationTests.java @@ -49,7 +49,7 @@ public class DataNeo4jTestPropertiesIntegrationTests { private Environment environment; @Test - public void environmentWitNewProfile() { + public void environmentWithNewProfile() { String profile = this.environment.getActiveProfiles()[0]; assertThat(profile).isEqualTo("test"); } diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/redis/DataRedisTestPropertiesIntegrationTests.java b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/redis/DataRedisTestPropertiesIntegrationTests.java index e6520c6fd2..467007f48f 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/redis/DataRedisTestPropertiesIntegrationTests.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/redis/DataRedisTestPropertiesIntegrationTests.java @@ -49,7 +49,7 @@ public class DataRedisTestPropertiesIntegrationTests { private Environment environment; @Test - public void environmentWitNewProfile() { + public void environmentWithNewProfile() { String profile = this.environment.getActiveProfiles()[0]; assertThat(profile).isEqualTo("test"); } diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/jdbc/JdbcTestPropertiesIntegrationTests.java b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/jdbc/JdbcTestPropertiesIntegrationTests.java index 0b1b9cea09..c4cdfdd0b3 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/jdbc/JdbcTestPropertiesIntegrationTests.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/jdbc/JdbcTestPropertiesIntegrationTests.java @@ -39,7 +39,7 @@ public class JdbcTestPropertiesIntegrationTests { private Environment environment; @Test - public void environmentWitNewProfile() { + public void environmentWithNewProfile() { String profile = this.environment.getActiveProfiles()[0]; assertThat(profile).isEqualTo("test"); } diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/jooq/JooqTestPropertiesIntegrationTests.java b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/jooq/JooqTestPropertiesIntegrationTests.java index ef2174d7b3..637998dc58 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/jooq/JooqTestPropertiesIntegrationTests.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/jooq/JooqTestPropertiesIntegrationTests.java @@ -39,7 +39,7 @@ public class JooqTestPropertiesIntegrationTests { private Environment environment; @Test - public void environmentWitNewProfile() { + public void environmentWithNewProfile() { String profile = this.environment.getActiveProfiles()[0]; assertThat(profile).isEqualTo("test"); } diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/json/JsonTestPropertiesIntegrationTests.java b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/json/JsonTestPropertiesIntegrationTests.java index a991712458..10bc2ec20b 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/json/JsonTestPropertiesIntegrationTests.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/json/JsonTestPropertiesIntegrationTests.java @@ -39,7 +39,7 @@ public class JsonTestPropertiesIntegrationTests { private Environment environment; @Test - public void environmentWitNewProfile() { + public void environmentWithNewProfile() { String profile = this.environment.getActiveProfiles()[0]; assertThat(profile).isEqualTo("test"); } diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/orm/jpa/DataJpaTestPropertiesIntegrationTests.java b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/orm/jpa/DataJpaTestPropertiesIntegrationTests.java index 622eccabe5..bf46e4ad2a 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/orm/jpa/DataJpaTestPropertiesIntegrationTests.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/orm/jpa/DataJpaTestPropertiesIntegrationTests.java @@ -39,7 +39,7 @@ public class DataJpaTestPropertiesIntegrationTests { private Environment environment; @Test - public void environmentWitNewProfile() { + public void environmentWithNewProfile() { String profile = this.environment.getActiveProfiles()[0]; assertThat(profile).isEqualTo("test"); } diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/client/RestClientTestPropertiesIntegrationTests.java b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/client/RestClientTestPropertiesIntegrationTests.java index 6f27c25489..5eb857064f 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/client/RestClientTestPropertiesIntegrationTests.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/client/RestClientTestPropertiesIntegrationTests.java @@ -39,7 +39,7 @@ public class RestClientTestPropertiesIntegrationTests { private Environment environment; @Test - public void environmentWitNewProfile() { + public void environmentWithNewProfile() { String profile = this.environment.getActiveProfiles()[0]; assertThat(profile).isEqualTo("test"); } diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/reactive/WebFluxTestPropertiesIntegrationTests.java b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/reactive/WebFluxTestPropertiesIntegrationTests.java index 420ea0db86..330ac5562a 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/reactive/WebFluxTestPropertiesIntegrationTests.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/reactive/WebFluxTestPropertiesIntegrationTests.java @@ -39,7 +39,7 @@ public class WebFluxTestPropertiesIntegrationTests { private Environment environment; @Test - public void environmentWitNewProfile() { + public void environmentWithNewProfile() { String profile = this.environment.getActiveProfiles()[0]; assertThat(profile).isEqualTo("test"); } diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/servlet/WebMvcTestPropertiesIntegrationTests.java b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/servlet/WebMvcTestPropertiesIntegrationTests.java index 67cbbb6ce4..eef8fbdc7a 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/servlet/WebMvcTestPropertiesIntegrationTests.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/servlet/WebMvcTestPropertiesIntegrationTests.java @@ -39,7 +39,7 @@ public class WebMvcTestPropertiesIntegrationTests { private Environment environment; @Test - public void environmentWitNewProfile() { + public void environmentWithNewProfile() { String profile = this.environment.getActiveProfiles()[0]; assertThat(profile).isEqualTo("test"); } diff --git a/spring-boot-samples/spring-boot-sample-oauth2-client/src/test/java/sample/oauth2/client/SampleOAuth2ClientApplicationTests.java b/spring-boot-samples/spring-boot-sample-oauth2-client/src/test/java/sample/oauth2/client/SampleOAuth2ClientApplicationTests.java index 0c04fabb2f..254dc31405 100644 --- a/spring-boot-samples/spring-boot-sample-oauth2-client/src/test/java/sample/oauth2/client/SampleOAuth2ClientApplicationTests.java +++ b/spring-boot-samples/spring-boot-sample-oauth2-client/src/test/java/sample/oauth2/client/SampleOAuth2ClientApplicationTests.java @@ -35,7 +35,7 @@ import static org.assertj.core.api.Assertions.assertThat; @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, properties = { "APP-CLIENT-ID=my-client-id", "APP-CLIENT-SECRET=my-client-secret", "YAHOO-CLIENT-ID=my-yahoo-client-id", - "YAHOO-CLIENT-SECRET=my-yahooo-client-secret" }) + "YAHOO-CLIENT-SECRET=my-yahoo-client-secret" }) public class SampleOAuth2ClientApplicationTests { @LocalServerPort