Fix syntax errors in docs

See gh-17835
pull/17861/head
dreis2211 5 years ago committed by Stephane Nicoll
parent 47a9bb1c0e
commit 2e32af4737

@ -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()));
}
}

@ -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