Skip to content

Commit 5c68547

Browse files
committed
Allow subclasses of ReturnedType.
Closes #3286
1 parent 833c5e3 commit 5c68547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/repository/query/ReturnedType.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public abstract class ReturnedType {
5757

5858
private final Class<?> domainType;
5959

60-
private ReturnedType(Class<?> domainType) {
60+
protected ReturnedType(Class<?> domainType) {
6161
this.domainType = domainType;
6262
}
6363

0 commit comments

Comments
 (0)