From 07fae72d8f86d68fd90bd467ddd07fc2222a8773 Mon Sep 17 00:00:00 2001 From: Ole Vester Date: Thu, 28 Nov 2024 12:48:11 +0100 Subject: [PATCH] Remove @NotNull annotation in api --- .../tum/cit/aet/artemis/atlas/api/CompetencyProgressApi.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/de/tum/cit/aet/artemis/atlas/api/CompetencyProgressApi.java b/src/main/java/de/tum/cit/aet/artemis/atlas/api/CompetencyProgressApi.java index 16be30412fb2..eddc384ad8c7 100644 --- a/src/main/java/de/tum/cit/aet/artemis/atlas/api/CompetencyProgressApi.java +++ b/src/main/java/de/tum/cit/aet/artemis/atlas/api/CompetencyProgressApi.java @@ -6,8 +6,6 @@ import java.util.Optional; import java.util.Set; -import jakarta.validation.constraints.NotNull; - import org.springframework.context.annotation.Profile; import org.springframework.stereotype.Controller; @@ -33,7 +31,7 @@ public CompetencyProgressApi(CompetencyProgressService competencyProgressService this.competencyRepository = competencyRepository; } - public void updateProgressByLearningObjectForParticipantAsync(LearningObject learningObject, @NotNull Participant participant) { + public void updateProgressByLearningObjectForParticipantAsync(LearningObject learningObject, Participant participant) { competencyProgressService.updateProgressByLearningObjectForParticipantAsync(learningObject, participant); }