Skip to content

Commit

Permalink
Fix typo in Java example for handler class
Browse files Browse the repository at this point in the history
  • Loading branch information
origoni authored and xcl(徐程林) committed Aug 16, 2020
1 parent a16f739 commit 88824e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/asciidoc/web/webmvc-functional.adoc
Expand Up @@ -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();
Expand Down

0 comments on commit 88824e9

Please sign in to comment.