Skip to content

Commit 6419b18

Browse files
origonisbrannen
authored andcommitted
Fix typo in Java example for handler class
Closes gh-25302
1 parent f0b8e63 commit 6419b18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docs/asciidoc/web/webmvc-functional.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public class PersonHandler {
254254
int personId = Integer.parseInt(request.pathVariable("id"));
255255
Person person = repository.getPerson(personId);
256256
if (person != null) {
257-
return ok().contentType(APPLICATION_JSON).body(person))
257+
return ok().contentType(APPLICATION_JSON).body(person);
258258
}
259259
else {
260260
return ServerResponse.notFound().build();

0 commit comments

Comments
 (0)