diff --git a/src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseService.java b/src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseService.java index 291d3e263712..493ae84fa5c8 100644 --- a/src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseService.java +++ b/src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseService.java @@ -835,7 +835,9 @@ public void reconnectCompetencyExerciseLinks(Exercise exercise) { /** * Returns a map from exercise type to count of exercise given a course id. - * If a course has no exercises for a specific type, the map contains an entry for that type with value 0. + * + * @param courseId the course id + * @return the mapping from exercise type to course type. If a course has no exercises for a specific type, the map contains an entry for that type with value 0. */ public Map countByCourseIdGroupByType(Long courseId) { Map exerciseTypeCountMap = exerciseRepository.countByCourseIdGroupedByType(courseId).stream()