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

Chore: replace concatenation with empty string #166

Merged
merged 1 commit into from
Jan 2, 2022

Conversation

dbmalkovsky
Copy link
Collaborator

Change string concatenations where one of the arguments is the empty string. Such a concatenation is unnecessary and inefficient, particularly when used as an idiom for formatting non-String objects or primitives into Strings. Use String.valueOf() instead.

@BlakeTNC
Copy link
Contributor

BlakeTNC commented Jan 2, 2022

Learn something new everyday!

@BlakeTNC BlakeTNC merged commit cad54ea into LGoodDatePicker:master Jan 2, 2022
@dbmalkovsky dbmalkovsky deleted the dbmConcatenation branch January 2, 2022 14: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