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

Fix empty string checks. #5390

Merged
merged 1 commit into from
May 7, 2020
Merged

Fix empty string checks. #5390

merged 1 commit into from
May 7, 2020

Conversation

martinmr
Copy link
Contributor

@martinmr martinmr commented May 7, 2020

There's no need to call the len function when checking for an empty
string.


This change is Reviewable

There's no need to call the len function when checking for an empty
string.
@martinmr martinmr requested review from manishrjain, pawanrawal and a team as code owners May 7, 2020 18:53
@martinmr martinmr merged commit 27645af into master May 7, 2020
@martinmr martinmr deleted the martinmr/fix-string-check branch May 7, 2020 19:32
martinmr added a commit that referenced this pull request May 7, 2020
There's no need to call the len function when checking for an empty
string.
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 18, 2020
There's no need to call the len function when checking for an empty
string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants