From 60deef338815b0279bb2b572ed96ba3bd5602669 Mon Sep 17 00:00:00 2001 From: toychip Date: Sun, 21 Jul 2024 17:36:01 +0900 Subject: [PATCH] refactor: remove unused method --- .../src/main/kotlin/com/mashup/dojo/usecase/PickUseCase.kt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/service/src/main/kotlin/com/mashup/dojo/usecase/PickUseCase.kt b/service/src/main/kotlin/com/mashup/dojo/usecase/PickUseCase.kt index 8e9404d0..b829f12d 100644 --- a/service/src/main/kotlin/com/mashup/dojo/usecase/PickUseCase.kt +++ b/service/src/main/kotlin/com/mashup/dojo/usecase/PickUseCase.kt @@ -85,12 +85,6 @@ class DefaultPickUseCase( if (receivedPickList.isEmpty()) return EMPTY_RECEIVED_PICK - /* - ToDo 지워도 될까욥 - val questionId = receivedPickList.first().questionId - questionService.getQuestionById(questionId) - */ - val result = receivedPickList.groupBy { it.questionId } .flatMap { (questionId, pickList) ->