hanicz commented on code in PR #947:
URL: https://github.com/apache/knox/pull/947#discussion_r1834061825


##########
gateway-spi/src/main/java/org/apache/knox/gateway/dispatch/GatewayDispatchFilter.java:
##########
@@ -217,15 +218,28 @@ public void doMethod(Dispatch dispatch, 
HttpServletRequest request, HttpServletR
     }
   }
 
-  private <T> T newInstanceFromName(String dispatchImpl) throws 
ServletException {
+  private <T> T newInstanceFromName(String dispatchImpl, FilterConfig 
filterConfig) throws ServletException {
     try {
       Class<T> clazz = loadClass(dispatchImpl);

Review Comment:
   I don't think it can ever return null.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to