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 String.equals("") #24052

Merged
merged 1 commit into from Nov 21, 2019

Conversation

@stsypanov
Copy link
Contributor

stsypanov commented Nov 21, 2019

There are certains cases when we are sure that String is not null, so instead of using equals("") we can call String.isEmpty() making core more readable.

@jhoeller jhoeller merged commit 1f3b595 into spring-projects:master Nov 21, 2019
1 check passed
1 check passed
ci/pivotal-cla Thank you for signing the Contributor License Agreement!
Details
@jhoeller jhoeller self-assigned this Nov 21, 2019
@jhoeller jhoeller added this to the 5.2.2 milestone Nov 21, 2019
@stsypanov stsypanov deleted the stsypanov:isEmpty branch Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.