Skip to content

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

Merged
jhoeller merged 1 commit intospring-projects:masterfrom
rupertw:patch-1
Mar 5, 2019
Merged

Use String::isEmpty instead of "".equals(arg) when arg is not null#22502
jhoeller merged 1 commit intospring-projects:masterfrom
rupertw:patch-1

Conversation

@rupertw
Copy link
Copy Markdown
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