Skip to content

Commit

Permalink
Update JavaDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
ole-ve committed Nov 25, 2024
1 parent eaa817d commit 19cc64d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<ExerciseType, Long> countByCourseIdGroupByType(Long courseId) {
Map<ExerciseType, Long> exerciseTypeCountMap = exerciseRepository.countByCourseIdGroupedByType(courseId).stream()
Expand Down

0 comments on commit 19cc64d

Please sign in to comment.