Skip to content

Commit

Permalink
[Refactoring] 함수 명 일관되게 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
AreSain committed Jul 29, 2024
1 parent ce85359 commit 12e96de
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 @@ -37,7 +37,7 @@ public void refundTickets(List<AgendaProfile> changedProfiles, UUID agendaKey) {
List<Ticket> tickets = new ArrayList<>();
for (
AgendaProfile profile : changedProfiles) {
Ticket ticket = Ticket.refundTicket(profile, agendaKey);
Ticket ticket = Ticket.createRefundedTicket(profile, agendaKey);
tickets.add(ticket);
}
ticketRepository.saveAll(tickets);
Expand Down
2 changes: 1 addition & 1 deletion gg-data/src/main/java/gg/data/agenda/Ticket.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public Ticket(AgendaProfile agendaProfile, UUID issuedFrom, UUID usedTo, Boolean
this.usedAt = usedAt;
}

public static Ticket refundTicket(AgendaProfile agendaProfile, UUID issuedFrom) {
public static Ticket createRefundedTicket(AgendaProfile agendaProfile, UUID issuedFrom) {
return Ticket.builder()
.agendaProfile(agendaProfile)
.issuedFrom(issuedFrom)
Expand Down

0 comments on commit 12e96de

Please sign in to comment.