From 753d6363848e998b2cdd4f7ae35418a5a0d959cf Mon Sep 17 00:00:00 2001 From: 101 Date: Mon, 1 Apr 2024 16:44:46 +0900 Subject: [PATCH] refactor :: GetDocumentService.java --- .../domain/document/usecase/service/GetDocumentService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daemawiki-api/src/main/java/org/daemawiki/domain/document/usecase/service/GetDocumentService.java b/daemawiki-api/src/main/java/org/daemawiki/domain/document/usecase/service/GetDocumentService.java index c6b970b7..79034b77 100644 --- a/daemawiki-api/src/main/java/org/daemawiki/domain/document/usecase/service/GetDocumentService.java +++ b/daemawiki-api/src/main/java/org/daemawiki/domain/document/usecase/service/GetDocumentService.java @@ -1,10 +1,10 @@ package org.daemawiki.domain.document.usecase.service; -import org.daemawiki.domain.document.mapper.DocumentMapperImpl; import org.daemawiki.domain.document.application.GetDocumentPort; import org.daemawiki.domain.document.application.SaveDocumentPort; import org.daemawiki.domain.document.dto.response.GetDocumentResponse; import org.daemawiki.domain.document.dto.response.SimpleDocumentResponse; +import org.daemawiki.domain.document.mapper.DocumentMapper; import org.daemawiki.domain.document.model.DefaultDocument; import org.daemawiki.domain.document.model.DocumentSearchResult; import org.daemawiki.domain.document.usecase.GetDocumentUsecase; @@ -16,9 +16,9 @@ public class GetDocumentService implements GetDocumentUsecase { private final GetDocumentPort getDocumentPort; private final SaveDocumentPort saveDocumentPort; - private final DocumentMapperImpl documentMapper; + private final DocumentMapper documentMapper; - public GetDocumentService(GetDocumentPort getDocumentPort, SaveDocumentPort saveDocumentPort, DocumentMapperImpl documentMapper) { + public GetDocumentService(GetDocumentPort getDocumentPort, SaveDocumentPort saveDocumentPort, DocumentMapper documentMapper) { this.getDocumentPort = getDocumentPort; this.saveDocumentPort = saveDocumentPort; this.documentMapper = documentMapper;