Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WW-5278 Collect duplicated code into AbstractActionValidatorManager #656

Merged

Conversation

kusalk
Copy link
Member

@kusalk kusalk commented Jan 30, 2023

@@ -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);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An IOException can only be thrown by InputStream::close

Copy link
Member

@lukaszlenart lukaszlenart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@lukaszlenart lukaszlenart merged commit 533d7e3 into apache:master Jan 30, 2023
@kusalk kusalk deleted the WW-5278-clean-up-action-validators branch January 30, 2023 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants