Skip to content

Commit

Permalink
Fix check style
Browse files Browse the repository at this point in the history
  • Loading branch information
oblodgett committed Aug 8, 2024
1 parent 2caaaad commit 66a7104
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ public SearchResponse<E> findByParams(Pagination pagination, Map<String, Object>
} else {
// Else always order by the ID field to prevent random lists when using different page,limit combinations
Metamodel metaModel = entityManager.getMetamodel();
IdentifiableType<E> of = (IdentifiableType<E>)metaModel.managedType(myClass);
IdentifiableType<E> of = (IdentifiableType<E>) metaModel.managedType(myClass);
query.orderBy(builder.asc(root.get(of.getId(of.getIdType().getJavaType()).getName())));
}

Expand Down

0 comments on commit 66a7104

Please sign in to comment.