You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "kusalk (via GitHub)" <gi...@apache.org> on 2023/01/30 12:49:24 UTC

[GitHub] [struts] kusalk commented on a diff in pull request #656: WW-5278 Collect duplicated code into AbstractActionValidatorManager

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-unsubscribe@struts.apache.org

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