diff --git a/app/src/test/java/com/techcourse/handlerMapper/ManualHandlerAdapterTest.java b/app/src/test/java/com/techcourse/handlerMapper/ManualHandlerAdapterTest.java index 76917380e2..e8e03bae74 100644 --- a/app/src/test/java/com/techcourse/handlerMapper/ManualHandlerAdapterTest.java +++ b/app/src/test/java/com/techcourse/handlerMapper/ManualHandlerAdapterTest.java @@ -6,6 +6,7 @@ import org.junit.jupiter.api.Test; import webmvc.org.springframework.web.servlet.ModelAndView; import webmvc.org.springframework.web.servlet.mvc.tobe.handlerMapper.ManualHandlerAdapter; +import webmvc.org.springframework.web.servlet.mvc.tobe.handlerMapper.ManualHandlerMapping; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; diff --git a/mvc/src/main/java/webmvc/org/springframework/web/servlet/mvc/DispatcherServlet.java b/mvc/src/main/java/webmvc/org/springframework/web/servlet/mvc/DispatcherServlet.java index 76c5928891..0b1071241b 100644 --- a/mvc/src/main/java/webmvc/org/springframework/web/servlet/mvc/DispatcherServlet.java +++ b/mvc/src/main/java/webmvc/org/springframework/web/servlet/mvc/DispatcherServlet.java @@ -1,6 +1,5 @@ package webmvc.org.springframework.web.servlet.mvc; -import com.techcourse.handlerMapper.ManualHandlerMapping; import jakarta.servlet.ServletException; import jakarta.servlet.http.HttpServlet; import jakarta.servlet.http.HttpServletRequest; @@ -14,6 +13,7 @@ import webmvc.org.springframework.web.servlet.mvc.tobe.handlerMapper.HandlerAdapter; import webmvc.org.springframework.web.servlet.mvc.tobe.handlerMapper.HandlerMapping; import webmvc.org.springframework.web.servlet.mvc.tobe.handlerMapper.ManualHandlerAdapter; +import webmvc.org.springframework.web.servlet.mvc.tobe.handlerMapper.ManualHandlerMapping; import java.util.ArrayList; import java.util.List; diff --git a/app/src/main/java/com/techcourse/handlerMapper/ManualHandlerMapping.java b/mvc/src/main/java/webmvc/org/springframework/web/servlet/mvc/tobe/handlerMapper/ManualHandlerMapping.java similarity index 89% rename from app/src/main/java/com/techcourse/handlerMapper/ManualHandlerMapping.java rename to mvc/src/main/java/webmvc/org/springframework/web/servlet/mvc/tobe/handlerMapper/ManualHandlerMapping.java index cca260bb70..c238727973 100644 --- a/app/src/main/java/com/techcourse/handlerMapper/ManualHandlerMapping.java +++ b/mvc/src/main/java/webmvc/org/springframework/web/servlet/mvc/tobe/handlerMapper/ManualHandlerMapping.java @@ -1,11 +1,10 @@ -package com.techcourse.handlerMapper; +package webmvc.org.springframework.web.servlet.mvc.tobe.handlerMapper; import jakarta.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import webmvc.org.springframework.web.servlet.mvc.asis.Controller; import webmvc.org.springframework.web.servlet.mvc.asis.ForwardController; -import webmvc.org.springframework.web.servlet.mvc.tobe.handlerMapper.HandlerMapping; import java.util.HashMap; import java.util.Map;