File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
hibernate-core/src/main/java/org/hibernate/query/specification Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ public interface SelectionSpecification<T> extends QuerySpecification<T> {
104104 *
105105 * @return {@code this} for method chaining.
106106 */
107- SelectionSpecification <T > resort (List <Order <? super T >> orders );
107+ SelectionSpecification <T > resort (List <? extends Order <? super T >> orders );
108108
109109 @ Override
110110 SelectionSpecification <T > restrict (Restriction <? super T > restriction );
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ public final SelectionSpecification<T> resort(Order<? super T> order) {
136136 }
137137
138138 @ Override
139- public final SelectionSpecification <T > resort (List <Order <? super T >> orders ) {
139+ public final SelectionSpecification <T > resort (List <? extends Order <? super T >> orders ) {
140140 specifications .add ( (sqmStatement , root ) -> {
141141 sqmStatement .getQuerySpec ().setOrderByClause ( new SqmOrderByClause () );
142142 orders .forEach ( order -> addOrder ( order , sqmStatement ) );
You can’t perform that action at this time.
0 commit comments