diff --git a/docs/src/main/asciidoc/redis-reference.adoc b/docs/src/main/asciidoc/redis-reference.adoc index 9503094a48da9..e2c785dbfc813 100644 --- a/docs/src/main/asciidoc/redis-reference.adoc +++ b/docs/src/main/asciidoc/redis-reference.adoc @@ -304,7 +304,7 @@ public class MyRedisService { } public Person get(String field) { - commands.hget(MY_KEY, field); // <4> + return commands.hget(MY_KEY, field); // <4> } } ----