[
https://issues.apache.org/jira/browse/WW-5278?focusedWorklogId=842278&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-842278
]
ASF GitHub Bot logged work on WW-5278:
--------------------------------------
Author: ASF GitHub Bot
Created on: 30/Jan/23 12:49
Start Date: 30/Jan/23 12:49
Worklog Time Spent: 10m
Work Description: 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`
Issue Time Tracking
-------------------
Worklog Id: (was: 842278)
Time Spent: 20m (was: 10m)
> Clean up duplicated code across ActionValidationManagers
> --------------------------------------------------------
>
> Key: WW-5278
> URL: https://issues.apache.org/jira/browse/WW-5278
> Project: Struts 2
> Issue Type: Task
> Components: Core Interceptors
> Reporter: Kusal Kithul-Godage
> Priority: Trivial
> Time Spent: 20m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)