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: make seata-config more readable #2184

Merged
merged 2 commits into from
Jan 15, 2020

Conversation

koonchen
Copy link
Contributor

Ⅰ. Describe what this PR did

I found some optimization points when i was reading source code in seata-config module.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@codecov-io
Copy link

codecov-io commented Jan 15, 2020

Codecov Report

Merging #2184 into develop will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop    #2184      +/-   ##
=============================================
- Coverage       54.4%   54.39%   -0.01%     
+ Complexity      2471     2470       -1     
=============================================
  Files            447      447              
  Lines          14750    14749       -1     
  Branches        1734     1734              
=============================================
- Hits            8024     8022       -2     
  Misses          5968     5968              
- Partials         758      759       +1
Impacted Files Coverage Δ Complexity Δ
...ain/java/io/seata/config/ConfigurationFactory.java 51.02% <100%> (-0.98%) 3 <0> (ø)
...o/seata/server/coordinator/DefaultCoordinator.java 47.26% <0%> (-0.4%) 27% <0%> (-1%)

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

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.

LGTM

@zjinlei zjinlei merged commit 7635b53 into apache:develop Jan 15, 2020
@slievrly slievrly added this to the 1.1.0 milestone Feb 3, 2020
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

4 participants