From a994b11a735aa4398d087940402bf5a14a4a0eb2 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Mon, 19 Sep 2016 13:52:43 +0900 Subject: [PATCH] Polish --- spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc | 2 +- ...toConfigureTestDatabaseWithNoDatabaseIntegrationTests.java | 2 +- .../bootstrap/SpringBootTestContextBootstrapperTests.java | 4 ++-- .../java/org/springframework/boot/maven/AbstractRunMojo.java | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index c4e35a00e2..511b396888 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -3788,7 +3788,7 @@ providers (in this order): * <> * <> (EhCache 3, Hazelcast, - Infinspan, etc) + Infinispan, etc) * <> * <> * <> diff --git a/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/orm/jpa/AutoConfigureTestDatabaseWithNoDatabaseIntegrationTests.java b/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/orm/jpa/AutoConfigureTestDatabaseWithNoDatabaseIntegrationTests.java index e181cef919..d6967972d6 100644 --- a/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/orm/jpa/AutoConfigureTestDatabaseWithNoDatabaseIntegrationTests.java +++ b/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/orm/jpa/AutoConfigureTestDatabaseWithNoDatabaseIntegrationTests.java @@ -41,7 +41,7 @@ public class AutoConfigureTestDatabaseWithNoDatabaseIntegrationTests { private ApplicationContext context; @Test - public void testContextLoades() throws Exception { + public void testContextLoads() throws Exception { // gh-6897 assertThat(this.context).isNotNull(); assertThat(this.context.getBeanNamesForType(DataSource.class)).isNotEmpty(); diff --git a/spring-boot-test/src/test/java/org/springframework/boot/test/context/bootstrap/SpringBootTestContextBootstrapperTests.java b/spring-boot-test/src/test/java/org/springframework/boot/test/context/bootstrap/SpringBootTestContextBootstrapperTests.java index e76c32f671..8598300ffa 100644 --- a/spring-boot-test/src/test/java/org/springframework/boot/test/context/bootstrap/SpringBootTestContextBootstrapperTests.java +++ b/spring-boot-test/src/test/java/org/springframework/boot/test/context/bootstrap/SpringBootTestContextBootstrapperTests.java @@ -61,10 +61,10 @@ public class SpringBootTestContextBootstrapperTests { BootstrapContext bootstrapContext = mock(BootstrapContext.class); bootstrapper.setBootstrapContext(bootstrapContext); given((Class) bootstrapContext.getTestClass()).willReturn(testClass); - CacheAwareContextLoaderDelegate contextLoaderDeleagte = mock( + CacheAwareContextLoaderDelegate contextLoaderDelegate = mock( CacheAwareContextLoaderDelegate.class); given(bootstrapContext.getCacheAwareContextLoaderDelegate()) - .willReturn(contextLoaderDeleagte); + .willReturn(contextLoaderDelegate); bootstrapper.buildTestContext(); } diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/AbstractRunMojo.java b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/AbstractRunMojo.java index a1d67ce551..086664afe3 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/AbstractRunMojo.java +++ b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/AbstractRunMojo.java @@ -139,7 +139,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { private File classesDirectory; /** - * Flag to indicate if the run processes should be forked. {@code fork } is + * Flag to indicate if the run processes should be forked. {@code fork} is * automatically enabled if an agent or jvmArguments are specified, or if devtools is * present. * @since 1.2