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

refactor: remove unnecessary code #1490

Merged
merged 3 commits into from
Aug 20, 2019

Conversation

andyqian
Copy link
Contributor

Ⅰ. Describe what this PR did

refactor: remove unnecessary code

@codecov-io
Copy link

codecov-io commented Aug 19, 2019

Codecov Report

Merging #1490 into develop will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             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
Impacted Files Coverage Δ Complexity Δ
...o/seata/server/coordinator/DefaultCoordinator.java 54.12% <0%> (+0.91%) 29% <0%> (+1%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f61382a...c92e481. Read the comment docs.

Copy link
Contributor

@zjinlei zjinlei left a 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;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isNotBlank == isNullOrEmpty ???

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isNotBlank == isNullOrEmpty ???

fix done

Copy link
Member

@jsbxyyx jsbxyyx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@slievrly slievrly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zjinlei zjinlei merged commit dd04c87 into apache:develop Aug 20, 2019
@wangliang181230 wangliang181230 added this to the 0.8.1 milestone Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants