Skip to content

Commit 49a1d24

Browse files
committed
Polishing.
Related ticket GH-3066.
1 parent 8b4028d commit 49a1d24

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: src/main/java/org/springframework/data/repository/core/RepositoryInformation.java

+5
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ default boolean hasCustomMethod() {
8686
return getQueryMethods().stream().anyMatch(this::isCustomMethod);
8787
}
8888

89+
/**
90+
* Returns whether the configured repository interface has query methods at all.
91+
*
92+
* @return
93+
*/
8994
default boolean hasQueryMethods() {
9095
return getQueryMethods().iterator().hasNext();
9196
}

0 commit comments

Comments
 (0)