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

Use String::isEmpty instead of "".equals(arg) when arg is not null #22502

Merged
merged 1 commit into from
Mar 5, 2019

Conversation

rupertw
Copy link
Contributor

@rupertw rupertw commented Mar 4, 2019

String::isEmpty has better time efficiency than "".equals(arg) when arg is not null

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Mar 4, 2019
@jhoeller jhoeller self-assigned this Mar 4, 2019
@jhoeller jhoeller added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Mar 4, 2019
@jhoeller jhoeller added this to the 5.2 M1 milestone Mar 4, 2019
@jhoeller jhoeller merged commit ef91313 into spring-projects:master Mar 5, 2019
@rupertw rupertw deleted the patch-1 branch March 5, 2019 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants