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: Fix multifaceted abstraction design level smell #2063

Conversation

smit0086
Copy link

The class DataUtil has multiple responsibilities, In this PR I have created another class CharsetUtil to extract Charset related utilities from the DataUtil class.

@jhy
Copy link
Owner

jhy commented Nov 27, 2023

This just seems like change for change's sake. I prefer the current version of a larger class - easier to see the implementation of each method. Plus, I don't want the internal method validateCharset to be made public (and not documented).

@jhy jhy closed this Nov 27, 2023
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