Skip to content

Commit

Permalink
fix penalty to dto
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailCCfit committed Jun 25, 2024
1 parent 574b8b0 commit 995bb3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public CheckResult(Map<Penalty, PenaltyResult> penaltyToError) {

private List<PenaltyResultDTO> getResultDTO() {
return penaltyToError.entrySet().stream()
.filter(entry -> entry.getValue().summaryPenalty >= 0)
.filter(entry -> entry.getValue().summaryPenalty < 0)
.map(entry -> new PenaltyResultDTO(entry.getKey().name, entry.getValue()))
.toList();
}
Expand Down

0 comments on commit 995bb3b

Please sign in to comment.