Skip to content

Commit

Permalink
server style
Browse files Browse the repository at this point in the history
  • Loading branch information
az108 committed Aug 28, 2024
1 parent ff84548 commit ed8e1a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,6 @@ public List<FeedbackDetailDTO> findAggregatedFeedbackByExerciseId(long exerciseI
int taskNumber = tasks.stream().filter(task -> task.getTestCases().stream().anyMatch(tc -> tc.getTestName().equals(detail.testCaseName()))).findFirst()
.map(task -> tasks.stream().toList().indexOf(task) + 1).orElse(0);
return new FeedbackDetailDTO(detail.count(), relativeCount, detail.detailText(), detail.testCaseName(), taskNumber);
}).collect(Collectors.toList());
}).toList();
}
}

0 comments on commit ed8e1a6

Please sign in to comment.