Skip to content

Commit

Permalink
fix: 변수명 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
baekhangyeol committed Nov 27, 2023
1 parent 82f2768 commit 22c45a8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static OrderSpecifier<?> getSortedColumn(Order order, Path<?> parent, Str

public static List<OrderSpecifier> getAllOrderSpecifiers(Pageable pageable, String entityType) {

List<OrderSpecifier> ORDERS = new ArrayList<>();
List<OrderSpecifier> orders = new ArrayList<>();

if (!isEmpty(pageable.getSort())) {
for (Sort.Order order : pageable.getSort()) {
Expand All @@ -43,11 +43,11 @@ public static List<OrderSpecifier> getAllOrderSpecifiers(Pageable pageable, Stri
throw new IllegalArgumentException("Entity의 타입이 아닙니다.");
}
OrderSpecifier<?> orderSpecifier = QueryDslUtil.getSortedColumn(direction, path, "createdAt");
ORDERS.add(orderSpecifier);
orders.add(orderSpecifier);
}
}
}

return ORDERS;
return orders;
}
}

0 comments on commit 22c45a8

Please sign in to comment.