Skip to content

Commit

Permalink
fix comparable type
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-amiaud committed Sep 19, 2024
1 parent 1b5f99c commit c284a39
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ public static <U> SqlPaginatedQuery<U> fromQuery(SQLQuery<U> sqlQuery) {
return new SqlPaginatedQuery<>(sqlQuery);
}

@SuppressWarnings("rawtypes")
@Nonnull
public <E extends Comparable<E>> SqlPaginatedQuery<U> withSort(
public <E extends Comparable> SqlPaginatedQuery<U> withSort(
@Nonnull Expression<E> expression,
@Nonnull Order sortDirection
) {
Expand Down

0 comments on commit c284a39

Please sign in to comment.