From 446aaf0f9c3ee997a2a03c9c44f570c45f8d8ab3 Mon Sep 17 00:00:00 2001 From: jade Date: Thu, 9 Jul 2026 10:36:29 +0900 Subject: [PATCH] style: optimize imports for Mappers --- .../axhub/biz/mcp/sample/mapper/SampleMciMapper.java | 3 ++- .../axhub/biz/mcp/tool/sms/mapper/SmsMciMapper.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/axhub-tool-core/src/main/java/io/shinhanlife/axhub/biz/mcp/sample/mapper/SampleMciMapper.java b/axhub-tool-core/src/main/java/io/shinhanlife/axhub/biz/mcp/sample/mapper/SampleMciMapper.java index 4c110fe..81d69cf 100644 --- a/axhub-tool-core/src/main/java/io/shinhanlife/axhub/biz/mcp/sample/mapper/SampleMciMapper.java +++ b/axhub-tool-core/src/main/java/io/shinhanlife/axhub/biz/mcp/sample/mapper/SampleMciMapper.java @@ -4,12 +4,13 @@ import io.shinhanlife.axhub.biz.mcp.sample.dto.SampleAiReqDto; import io.shinhanlife.axhub.biz.mcp.sample.dto.SampleMciReqDto; import org.mapstruct.Mapper; import org.mapstruct.Mapping; +import org.mapstruct.factory.Mappers; @Mapper(componentModel = "spring") public interface SampleMciMapper { // 테스트 환경 등에서 Spring Bean 주입 없이 직접 접근하기 위한 INSTANCE 제공 (IDE 에러 방지용) - SampleMciMapper INSTANCE = org.mapstruct.factory.Mappers.getMapper(SampleMciMapper.class); + SampleMciMapper INSTANCE = Mappers.getMapper(SampleMciMapper.class); /** * AI Agent의 DTO를 MCI 통신용 DTO로 변환합니다. diff --git a/axhub-tool-sms/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/sms/mapper/SmsMciMapper.java b/axhub-tool-sms/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/sms/mapper/SmsMciMapper.java index 1420398..78a5332 100644 --- a/axhub-tool-sms/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/sms/mapper/SmsMciMapper.java +++ b/axhub-tool-sms/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/sms/mapper/SmsMciMapper.java @@ -4,11 +4,12 @@ import io.shinhanlife.axhub.biz.mcp.tool.dto.SmsSendReq; import io.shinhanlife.axhub.biz.mcp.tool.sms.dto.SmsMciReqDto; import org.mapstruct.Mapper; import org.mapstruct.Mapping; +import org.mapstruct.factory.Mappers; @Mapper(componentModel = "spring") public interface SmsMciMapper { - SmsMciMapper INSTANCE = org.mapstruct.factory.Mappers.getMapper(SmsMciMapper.class); + SmsMciMapper INSTANCE = Mappers.getMapper(SmsMciMapper.class); @Mapping(source = "phoneNumber", target = "phone") @Mapping(source = "message", target = "content")