From 6419b18beed313fcbee35abdeabaf62614767125 Mon Sep 17 00:00:00 2001 From: DK Lee Date: Tue, 23 Jun 2020 17:26:43 +0900 Subject: [PATCH] Fix typo in Java example for handler class Closes gh-25302 --- src/docs/asciidoc/web/webmvc-functional.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();