kusalk commented on code in PR #656:
URL: https://github.com/apache/struts/pull/656#discussion_r1090584457


##########
core/src/main/java/com/opensymphony/xwork2/validator/AbstractActionValidatorManager.java:
##########
@@ -276,7 +276,7 @@ protected List<ValidatorConfig> loadFile(String fileName, 
Class clazz, boolean c
                     retList = new 
ArrayList<>(validatorFileParser.parseActionValidatorConfigs(validatorFactory, 
is, fileName));
                 }
             } catch (IOException e) {
-                LOG.error("Caught exception while loading file {}", fileName, 
e);

Review Comment:
   An IOException can only be thrown by `InputStream::close`



-- 
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: issues-unsubscr...@struts.apache.org

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

Reply via email to