-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
refactor: remove unnecessary code #1490
refactor: remove unnecessary code #1490
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1490 +/- ##
============================================
+ Coverage 46.39% 46.4% +0.01%
- Complexity 1691 1692 +1
============================================
Files 347 347
Lines 12713 12713
Branches 1589 1589
============================================
+ Hits 5898 5900 +2
+ Misses 6175 6174 -1
+ Partials 640 639 -1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
LGTM
return defaultValue; | ||
} | ||
return value; | ||
return StringUtils.isNotBlank(value) ? value : defaultValue; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isNotBlank == isNullOrEmpty ???
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isNotBlank == isNullOrEmpty ???
fix done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Ⅰ. Describe what this PR did
refactor: remove unnecessary code