File tree 1 file changed +5
-4
lines changed
src/main/java/org/springframework/data/repository/query
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -57,12 +57,13 @@ private ReturnedType(Class<?> domainType) {
57
57
/**
58
58
* Creates a new {@link ReturnedType} for the given returned type, domain type and {@link ProjectionFactory}.
59
59
*
60
- * @param returnedType must not be {@literal null}.
61
- * @param domainType must not be {@literal null}.
60
+ * @param returnedType return type for the query result, must not be {@literal null}.
61
+ * @param domainType domain type for the query context, must not be {@literal null}.
62
62
* @param factory must not be {@literal null}.
63
- * @return
63
+ * @return the ReturnedType for the given returned type, domain type and {@link ProjectionFactory}.
64
+ * @since 3.3.5
64
65
*/
65
- static ReturnedType of (Class <?> returnedType , Class <?> domainType , ProjectionFactory factory ) {
66
+ public static ReturnedType of (Class <?> returnedType , Class <?> domainType , ProjectionFactory factory ) {
66
67
67
68
Assert .notNull (returnedType , "Returned type must not be null" );
68
69
Assert .notNull (domainType , "Domain type must not be null" );
You can’t perform that action at this time.
0 commit comments