-
Notifications
You must be signed in to change notification settings - Fork 11.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
[ISSUE #9156] Refactor AclUtils#getAclRPCHook #9157
base: develop
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 @@
## develop #9157 +/- ##
=============================================
- Coverage 48.11% 48.03% -0.09%
+ Complexity 12091 12072 -19
=============================================
Files 1321 1321
Lines 93024 93024
Branches 11926 11926
=============================================
- Hits 44755 44680 -75
- Misses 42754 42816 +62
- Partials 5515 5528 +13 ☔ View full report in Codecov by Sentry. |
@@ -47,7 +54,7 @@ public void testGetAddresses() { | |||
addressList.add("1.1.1.2"); | |||
addressList.add("1.1.1.3"); | |||
addressList.add("1.1.1.4"); | |||
Assert.assertEquals(newAddressList, addressList); | |||
assertEquals(newAddressList, addressList); |
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.
Are there any benefits to this modification?
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.
Use static import to reduce redundant code.
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.
They are both one line of code. Changing it will lose the git blame.
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.
Okay, I will return to them.
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.
It has been adjusted. Please review it again. Thank you.
Fixes #9156, use fastjson2 to replace fastjson1.