diff --git a/src/docs/asciidoc/web/webmvc-functional.adoc b/src/docs/asciidoc/web/webmvc-functional.adoc index 1bfddf67c533..4b8dc554df25 100644 --- a/src/docs/asciidoc/web/webmvc-functional.adoc +++ b/src/docs/asciidoc/web/webmvc-functional.adoc @@ -254,7 +254,7 @@ public class PersonHandler { int personId = Integer.parseInt(request.pathVariable("id")); Person person = repository.getPerson(personId); if (person != null) { - return ok().contentType(APPLICATION_JSON).body(person)) + return ok().contentType(APPLICATION_JSON).body(person); } else { return ServerResponse.notFound().build();