From fa55edc4cb1436de79de1b2020d1fa47c42f67c1 Mon Sep 17 00:00:00 2001 From: "julian.lxs" Date: Thu, 10 Oct 2024 16:49:15 +0200 Subject: [PATCH] remove unnecessary import and todo comment --- .../iste/meitrex/assignment_service/service/GradingService.java | 2 -- .../api/QueryGetGradingForAssignmentForStudentTest.java | 1 - 2 files changed, 3 deletions(-) diff --git a/src/main/java/de/unistuttgart/iste/meitrex/assignment_service/service/GradingService.java b/src/main/java/de/unistuttgart/iste/meitrex/assignment_service/service/GradingService.java index 5434e30..318fd53 100644 --- a/src/main/java/de/unistuttgart/iste/meitrex/assignment_service/service/GradingService.java +++ b/src/main/java/de/unistuttgart/iste/meitrex/assignment_service/service/GradingService.java @@ -28,8 +28,6 @@ public class GradingService { private final TopicPublisher topicPublisher; private final AssignmentService assignmentService; - // TODO need to filter for newest, in case there are more than one - public Grading getGradingForAssignmentForStudent(final UUID assignmentId, final UUID studentId, final LoggedInUser currentUser) { final AssignmentEntity assignment = assignmentService.requireAssignmentExists(assignmentId); // throws EntityNotFoundException "Assignment with assessmentId %s not found" try { diff --git a/src/test/java/de/unistuttgart/iste/meitrex/assignment_service/api/QueryGetGradingForAssignmentForStudentTest.java b/src/test/java/de/unistuttgart/iste/meitrex/assignment_service/api/QueryGetGradingForAssignmentForStudentTest.java index 61e7ad9..639d8df 100644 --- a/src/test/java/de/unistuttgart/iste/meitrex/assignment_service/api/QueryGetGradingForAssignmentForStudentTest.java +++ b/src/test/java/de/unistuttgart/iste/meitrex/assignment_service/api/QueryGetGradingForAssignmentForStudentTest.java @@ -17,7 +17,6 @@ import java.time.ZoneOffset; import java.time.temporal.ChronoUnit; -import java.time.temporal.TemporalUnit; import java.util.List; import java.util.UUID;