Browse Source

Merge pull request #17835 from dreis2211

* pr/17835:
  Fix syntax errors in docs

Closes gh-17835
pull/17861/head
Stephane Nicoll 7 years ago
parent
commit
0bdf2b8742
  1. 2
      spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc
  2. 2
      spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

2
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 @@ -908,7 +908,7 @@ interface. The following code shows a sample `ReactiveHealthIndicator` implement
@Override
public Mono<Health> health() {
return doHealthCheck() //perform some specific health check that returns a Mono<Health>
.onErrorResume(ex -> Mono.just(new Health.Builder().down(ex).build())));
.onErrorResume(ex -> Mono.just(new Health.Builder().down(ex).build()));
}
}

2
spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

@ -7948,7 +7948,7 @@ for assertions, as follows: @@ -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");
}
}

Loading…
Cancel
Save