From 2e32af47370b3c408cfa4b24237f5f2e8b4b6810 Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Sun, 11 Aug 2019 18:24:50 +0200 Subject: [PATCH] Fix syntax errors in docs See gh-17835 --- .../src/main/asciidoc/production-ready-features.adoc | 2 +- .../src/main/asciidoc/spring-boot-features.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 117c426762..c99a37509c 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 53b64fea32..f90e4716f6 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"); } }