From 4757ad63f1b569cdb4e8b1de040fad689696ec4c Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 1 Nov 2017 14:47:58 +0000 Subject: [PATCH] Fix typos in Javadoc of assertable application context classes Closes gh-10865 --- .../test/context/assertj/ApplicationContextAssertProvider.java | 2 +- .../boot/test/context/assertj/AssertableApplicationContext.java | 2 +- .../assertj/AssertableReactiveWebApplicationContext.java | 2 +- .../test/context/assertj/AssertableWebApplicationContext.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/ApplicationContextAssertProvider.java b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/ApplicationContextAssertProvider.java index 00c267bc88..b6f07318bf 100644 --- a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/ApplicationContextAssertProvider.java +++ b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/ApplicationContextAssertProvider.java @@ -27,7 +27,7 @@ import org.springframework.util.Assert; /** * An {@link ApplicationContext} that additionally supports AssertJ style assertions. Can - * be used to decorate and existing application context or an application context that + * be used to decorate an existing application context or an application context that * failed to start. *

* Assertions can be applied using the standard AssertJ {@code assertThat(...)} style (see diff --git a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/AssertableApplicationContext.java b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/AssertableApplicationContext.java index 9195ad50b9..a554371175 100644 --- a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/AssertableApplicationContext.java +++ b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/AssertableApplicationContext.java @@ -24,7 +24,7 @@ import org.springframework.context.ConfigurableApplicationContext; /** * An {@link ApplicationContext} that additionally supports AssertJ style assertions. Can - * be used to decorate and existing application context or an application context that + * be used to decorate an existing application context or an application context that * failed to start. *

* See {@link ApplicationContextAssertProvider} for more details. diff --git a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/AssertableReactiveWebApplicationContext.java b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/AssertableReactiveWebApplicationContext.java index 418cff4301..868e6194ee 100644 --- a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/AssertableReactiveWebApplicationContext.java +++ b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/AssertableReactiveWebApplicationContext.java @@ -23,7 +23,7 @@ import org.springframework.boot.web.reactive.context.ReactiveWebApplicationConte /** * A {@link ReactiveWebApplicationContext} that additionally supports AssertJ style - * assertions. Can be used to decorate and existing reactive web application context or an + * assertions. Can be used to decorate an existing reactive web application context or an * application context that failed to start. *

* See {@link ApplicationContextAssertProvider} for more details. diff --git a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/AssertableWebApplicationContext.java b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/AssertableWebApplicationContext.java index 9778420f48..a7ff4e5b44 100644 --- a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/AssertableWebApplicationContext.java +++ b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/assertj/AssertableWebApplicationContext.java @@ -24,7 +24,7 @@ import org.springframework.web.context.WebApplicationContext; /** * A {@link WebApplicationContext} that additionally supports AssertJ style assertions. - * Can be used to decorate and existing servlet web application context or an application + * Can be used to decorate an existing servlet web application context or an application * context that failed to start. *

* See {@link ApplicationContextAssertProvider} for more details.