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

[ISSUE #3463] Do some code optimization[EventmeshRebalanceImpl] #3788

Merged
merged 4 commits into from
May 9, 2023

Conversation

kyooosukedn
Copy link
Contributor

Fixes #3463 .

Motivation

Code optimization on EventmeshRebalanceImpl
Explain why you want to make the changes and what problem you're trying to solve.

Modifications

Replace null with Collections.emptyMap()

Documentation

  • Does this pull request introduce a new feature? (no)
  • If yes, how is the feature documented? (not applicable)

map.put(key, value);
}
});
textMapPropagator.inject(context, map, (carrier, key, value) -> map.put(key, value));
Copy link
Contributor

Choose a reason for hiding this comment

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

Repeat fix here: pr #3786.
One issue corresponds to one pr.

@codecov
Copy link

codecov bot commented May 5, 2023

Codecov Report

Merging #3788 (3ef49c2) into master (9ad980f) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

❗ Current head 3ef49c2 differs from pull request most recent head 69f0298. Consider uploading reports for the commit 69f0298 to get more accurate results

@@             Coverage Diff              @@
##             master    #3788      +/-   ##
============================================
- Coverage     13.82%   13.81%   -0.01%     
+ Complexity     1292     1291       -1     
============================================
  Files           571      571              
  Lines         29089    29089              
  Branches       2841     2841              
============================================
- Hits           4021     4019       -2     
- Misses        24696    24697       +1     
- Partials        372      373       +1     
Impacted Files Coverage Δ
...l/tcp/client/rebalance/EventmeshRebalanceImpl.java 0.00% <0.00%> (ø)
...che/eventmesh/trace/zipkin/ZipkinTraceService.java 56.57% <0.00%> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@xwm1992 xwm1992 merged commit ea4b652 into apache:master May 9, 2023
7 checks passed
@kyooosukedn kyooosukedn deleted the 3463 branch May 12, 2023 19:55
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.

[Enhancement] Do some code optimization[EventmeshRebalanceImpl]
3 participants