Skip to content

Commit

Permalink
Polishing.
Browse files Browse the repository at this point in the history
Related ticket GH-3066.
  • Loading branch information
odrotbohm committed Mar 25, 2024
1 parent cf82e0f commit 1c8471c
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ default boolean hasCustomMethod() {
return getQueryMethods().stream().anyMatch(this::isCustomMethod);
}

/**
* Returns whether the configured repository interface has query methods at all.
*
* @return
*/
default boolean hasQueryMethods() {
return getQueryMethods().iterator().hasNext();
}
Expand Down

0 comments on commit 1c8471c

Please sign in to comment.