From 099678d6873348150b153d0d5b3d1977cf6e6a96 Mon Sep 17 00:00:00 2001 From: "erwan.serandour" Date: Tue, 28 Jan 2025 15:45:58 +0100 Subject: [PATCH] update after code review --- rules/S7186/java/rule.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/S7186/java/rule.adoc b/rules/S7186/java/rule.adoc index 32d9df5a472..8d15538be3b 100644 --- a/rules/S7186/java/rule.adoc +++ b/rules/S7186/java/rule.adoc @@ -5,7 +5,7 @@ Spring Data Repository supports paging for queries, allowing you to return resul The conventional approach to paginating data in Spring is to use the `Pageable` interface to control pagination and to store the query results into a `Page` or `Slice`. If a query method in a `Repository` returns a `Page` or `Slice` without taking a `Pageable` as an input, it raises a runtime exception. -This rule raises an issue on query methods that return a `Page` or `Slice` without taking a `Pageable` as an input. +This rule raises an issue on queries in a `Repository` that return a `Page` or `Slice` without taking a `Pageable` as an input. == How to fix it