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

Random minor fixes / clean-up in OsUtils #809

Merged
merged 3 commits into from
Mar 12, 2023

Conversation

psiroky
Copy link
Contributor

@psiroky psiroky commented Mar 10, 2023

When browsing through the code I encountered some small things which I think makes sense to fix, so I figured I would create a PR.

I may possibly create more of these if I encounter similar things elsewhere in the code -- and of course if PRs likes are something you are interested in (as I know reviewing things like this is not super exciting)

 * the String.join() is more readable and there should not be any
   downsides (like performance or so)
 * fix typo in method names
 * add a test for the other *toHumanReadable method
 * replace StringBuilder usage with simple concatenation
   where applicable (for fixed length strings)
@psiroky psiroky changed the title Random minor fixes / clean-upin OsUtils Random minor fixes / clean-up in OsUtils Mar 10, 2023
@gnodet gnodet added this to the 1.0.0-m5 milestone Mar 12, 2023
@gnodet gnodet merged commit e1815e5 into apache:master Mar 12, 2023
@psiroky psiroky deleted the super-minor-fixes branch March 13, 2023 06:00
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