Skip to content

Commit

Permalink
refactor: 파라미터, 변수명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seokjin8678 committed Sep 13, 2023
1 parent 17089a7 commit ec4a2d5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit ec4a2d5

Please sign in to comment.