Commit 2e32af47 authored by dreis2211's avatar dreis2211 Committed by Stephane Nicoll

Fix syntax errors in docs

See gh-17835
parent 47a9bb1c
...@@ -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 @Override
public Mono<Health> health() { public Mono<Health> health() {
return doHealthCheck() //perform some specific health check that returns a Mono<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()));
} }
} }
......
...@@ -7948,7 +7948,7 @@ for assertions, as follows: ...@@ -7948,7 +7948,7 @@ for assertions, as follows:
@Test @Test
public void testName() throws Exception { public void testName() throws Exception {
System.out.println("Hello World!"); System.out.println("Hello World!");
assertThat(capture.toString(), containsString("World")); assertThat(capture.toString(), containsString("World");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment