Skip to content

Commit

Permalink
Fix(#171): null이 아니라 0으로 주도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
mingeun0507 committed May 25, 2023
1 parent bf75315 commit 7099d3b
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,15 @@ public static class ChargeReport {

@Getter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public static class ValueNameAndCount {
private String name;
private Long count;

@Builder
public ValueNameAndCount(String name, Long count) {
this.name = name;
this.count = count == null ? 0L : count;
}
}

@Getter
Expand Down

0 comments on commit 7099d3b

Please sign in to comment.