From ec4a2d5d2b9b3a9d29f6715d9703b417b119b600 Mon Sep 17 00:00:00 2001 From: seokjin8678 Date: Wed, 13 Sep 2023 10:28:37 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=ED=8C=8C=EB=9D=BC=EB=AF=B8?= =?UTF-8?q?=ED=84=B0,=20=EB=B3=80=EC=88=98=EB=AA=85=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/servlet/mvc/tobe/HandlerExecution.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mvc/src/main/java/webmvc/org/springframework/web/servlet/mvc/tobe/HandlerExecution.java b/mvc/src/main/java/webmvc/org/springframework/web/servlet/mvc/tobe/HandlerExecution.java index 89e9008bf5..ef546dc03d 100644 --- a/mvc/src/main/java/webmvc/org/springframework/web/servlet/mvc/tobe/HandlerExecution.java +++ b/mvc/src/main/java/webmvc/org/springframework/web/servlet/mvc/tobe/HandlerExecution.java @@ -7,15 +7,15 @@ public class HandlerExecution { - private final Object controller; + private final Object handler; private final Method method; - public HandlerExecution(Object controller, Method method) { - this.controller = controller; + public HandlerExecution(Object handler, Method method) { + this.handler = handler; this.method = method; } public ModelAndView handle(final HttpServletRequest request, final HttpServletResponse response) throws Exception { - return (ModelAndView) method.invoke(controller, request, response); + return (ModelAndView) method.invoke(handler, request, response); } }