From 28c195784081f37edbbcf5572edb5c5a26b8ede7 Mon Sep 17 00:00:00 2001 From: KIMSIWOO Date: Sun, 29 Dec 2024 13:00:28 +0900 Subject: [PATCH] fix typo in example code fixed typo in example code Signed-off-by: KIMSIWOO --- .../modules/ROOT/pages/repositories/query-methods-details.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc b/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc index 17042746bb..c4cb25eadf 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc @@ -533,7 +533,7 @@ The following example shows how to limit the query size: .Limiting the result size of a query with `Top` and `First` [source,java] ---- -List findByLastname(Limit limit); +List findByLastname(String lastname, Limit limit); User findFirstByOrderByLastnameAsc();