-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
reactor: refactor the code that does not comply with license requirements #7145
base: 2.x
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.x #7145 +/- ##
============================================
+ Coverage 51.77% 52.24% +0.46%
- Complexity 6754 6798 +44
============================================
Files 1151 1151
Lines 40970 40982 +12
Branches 4803 4803
============================================
+ Hits 21213 21410 +197
+ Misses 17762 17543 -219
- Partials 1995 2029 +34
|
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
|
||
return res; | ||
//Return the final alternative result, or all if result has not changed | ||
return result == null || result === obj ? all : result; |
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.
I think it should be ${res == null || res === obj ? all : res}
to convert res to string if necessary.
Ⅰ. Describe what this PR did
refactor some code
Ⅱ. Does this pull request fix one issue?
https://lists.apache.org/thread/wbq6jsykj2cd9nn91ys1b8r99bfl1h2r
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews