-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 baggage contains null #1140
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1140 +/- ##
============================================
- Coverage 71.07% 71.00% -0.08%
+ Complexity 833 831 -2
============================================
Files 405 405
Lines 17100 17108 +8
Branches 2669 2670 +1
============================================
- Hits 12154 12147 -7
- Misses 3561 3582 +21
+ Partials 1385 1379 -6
Continue to review full report at Codecov.
|
core/api/src/main/java/com/alipay/sofa/rpc/context/RpcInvokeContext.java
Outdated
Show resolved
Hide resolved
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
Motivation:
If baggage contains null value,
putAll
method of. ConcurrentHashMap will throw NPE.