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

refactor(filters4): XLIFF1,2 filters and abstract classes #785

Merged

Conversation

miurahr
Copy link
Member

@miurahr miurahr commented Oct 22, 2023

There are many code style warnings/errors on StaX filters.
The changes here to resolve the style errors.

These style errors has been introduced when accepting filters, all checkstyle errors are treated as warning, and author and reviewer does not aware of it.

Pull request type

  • refactor

What does this PR change?

  • Unnecessary static for eFactory field
  • Unnecessary silent override of eFactory
  • Unnecessary nested blocks
  • Bad style of commenting in if-elseif syntax
  • Unnecessary static for toPair method
  • Use try-resource in AbstractZipFilter

Other information

- Unnecessary static for eFactory
- Unnecessary silent override of eFactory
- Unnecessary nested blocks
- Bad style of commenting in if-elseif syntax
- Unnecessary static for toPair method

Signed-off-by: Hiroshi Miura <[email protected]>
@miurahr miurahr force-pushed the topic/miurahr/filters4/refactor-stax-filters-try-resource-more branch from 250b710 to ced8b0b Compare October 22, 2023 03:52
@miurahr
Copy link
Member Author

miurahr commented Oct 26, 2023

@t-cordonnier please check the changes are not harm for features?

@t-cordonnier
Copy link
Contributor

Tested with a few documents no difference found

@miurahr miurahr merged commit 84d9d2c into master Oct 29, 2023
7 checks passed
@miurahr miurahr deleted the topic/miurahr/filters4/refactor-stax-filters-try-resource-more branch November 13, 2023 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants