Skip to content

Commit

Permalink
update after code review
Browse files Browse the repository at this point in the history
  • Loading branch information
erwan-serandour committed Jan 28, 2025
1 parent a142f6a commit 099678d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/S7186/java/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 099678d

Please sign in to comment.