diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc index 117c4267620..c99a37509c2 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc @@ -908,7 +908,7 @@ interface. The following code shows a sample `ReactiveHealthIndicator` implement @Override public Mono health() { return doHealthCheck() //perform some specific health check that returns a Mono - .onErrorResume(ex -> Mono.just(new Health.Builder().down(ex).build()))); + .onErrorResume(ex -> Mono.just(new Health.Builder().down(ex).build())); } } diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 53b64fea32d..f90e4716f6e 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -7948,7 +7948,7 @@ for assertions, as follows: @Test public void testName() throws Exception { System.out.println("Hello World!"); - assertThat(capture.toString(), containsString("World")); + assertThat(capture.toString(), containsString("World"); } }