From 539ac06d93637fd5f3dbf01c7e9db952faf3724c 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 --- .../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();