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

[MINOR] Code Cleanup #16021

Closed
wants to merge 3 commits into from
Closed

[MINOR] Code Cleanup #16021

wants to merge 3 commits into from

Conversation

sjhajharia
Copy link
Contributor

@sjhajharia sjhajharia commented May 21, 2024

What

Code Cleanup

Changes

Some common changes include

  • Replace the Arrays.asList() with Collections.singletonList() wherever possible
  • Cleaning up some if-else blocks
  • Replacing some instances of String.builder() with String operations

@sjhajharia sjhajharia marked this pull request as ready for review May 21, 2024 16:51
@chia7712
Copy link
Contributor

@sjhajharia Thanks for this great contribution. However, we normally do such refactor one module by one module. For example: #15967, #15955, and #15877

The huge PR is un-reviewable and so it will be easy to make broken changes. Hence, could you please separate it into small PRs?

@sjhajharia
Copy link
Contributor Author

Hey @chia7712
Thanks for the comment. I was also in a split brain regarding the same. I will close this one and create child PRs with one/two modules targetted at a time for an easier review.
Thanks!

@sjhajharia sjhajharia closed this May 23, 2024
@sjhajharia
Copy link
Contributor Author

Hey @chia7712
I have created 5 sub-PRs to address the cleanup module-by-module.

Hope that folks can chime in and provide their feedbacks.
Good Day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants