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

Fix "method_complexity" issue in library/src/main/java/com/alibaba/dcm/internal/InetAddressCacheUtilForJava8Minus.java #65

Closed
oldratlee opened this issue Nov 25, 2021 · 0 comments
Assignees

Comments

@oldratlee
Copy link
Member

Method inetAddress$CacheEntry2DnsCacheEntry has a Cognitive Complexity of 14 (exceeds 5 allowed). Consider refactoring.

https://codeclimate.com/github/alibaba/java-dns-cache-manipulator/library/src/main/java/com/alibaba/dcm/internal/InetAddressCacheUtilForJava8Minus.java#issue_619e282cd9cfc50001000040

oldratlee added a commit that referenced this issue Nov 25, 2021
oldratlee added a commit that referenced this issue Nov 25, 2021
@oldratlee oldratlee self-assigned this Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant