File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/main/java/org/springframework/data/repository/query Expand file tree Collapse file tree 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) {
5757 /**
5858 * Creates a new {@link ReturnedType} for the given returned type, domain type and {@link ProjectionFactory}.
5959 *
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}.
6262 * @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
6465 */
65- static ReturnedType of (Class <?> returnedType , Class <?> domainType , ProjectionFactory factory ) {
66+ public static ReturnedType of (Class <?> returnedType , Class <?> domainType , ProjectionFactory factory ) {
6667
6768 Assert .notNull (returnedType , "Returned type must not be null" );
6869 Assert .notNull (domainType , "Domain type must not be null" );
You can’t perform that action at this time.
0 commit comments