Skip to content

Commit

Permalink
refactor: convertToOrderType 메소드 이름 변경 (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
AHNYUNKI committed Mar 27, 2024
1 parent 2341b1c commit 658588a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public TalkRoomSearchServiceRequest toService() {
.page(page)
.size(size)
.search(search)
.orderType(OrderType.conversionOrderType(order))
.orderType(OrderType.convertToOrderType(order))
.build();
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/jisungin/application/OrderType.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public enum OrderType {

private final String text;

public static OrderType conversionOrderType(String order) {
public static OrderType convertToOrderType(String order) {
return switch (order) {
case "recent" -> RECENT;
case "recommend" -> RECOMMEND;
Expand Down

0 comments on commit 658588a

Please sign in to comment.