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 #9156] Refactor AclUtils#getAclRPCHook #9157

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

yx9o
Copy link
Contributor

@yx9o yx9o commented Jan 23, 2025

Fixes #9156, use fastjson2 to replace fastjson1.

@codecov-commenter
Copy link

codecov-commenter commented Jan 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.03%. Comparing base (de4e48d) to head (94e1382).

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.
📢 Have feedback on the report? Share it here.

@@ -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);
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

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] Refactor AclUtils#getAclRPCHook
3 participants