Skip to content

Commit

Permalink
feat(policy-api):[eclipse-tractusx#639] Fix one violation
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmf committed Jul 2, 2024
1 parent 258d1cd commit 297b19a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public boolean isFieldSortedAscending(final Pageable pageable, final String fiel
}

final Sort sort = pageable.getSort();
for (Sort.Order order : sort) {
for (final Sort.Order order : sort) {
if (order.getProperty().equals(fieldName) && order.getDirection() == Sort.Direction.ASC) {
return true;
}
Expand Down

0 comments on commit 297b19a

Please sign in to comment.