In the case of multiple network cards, a valid host is returned#2924
In the case of multiple network cards, a valid host is returned#2924davidzollo merged 51 commits intoapache:devfrom CalvinKirs:net
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #2924 +/- ##
============================================
+ Coverage 33.39% 33.47% +0.07%
- Complexity 2373 2390 +17
============================================
Files 441 442 +1
Lines 20518 20595 +77
Branches 2505 2522 +17
============================================
+ Hits 6853 6895 +42
- Misses 13018 13040 +22
- Partials 647 660 +13
Continue to review full report at Codecov.
|
| public static synchronized InetAddress getLocalAddress() { | ||
|
|
||
| if (null != LOCAL_ADDRESS) { | ||
| return LOCAL_ADDRESS; |
There was a problem hiding this comment.
what's purpose of this variable LOCAL_ADDRESS ? never assigned a value
There was a problem hiding this comment.
what's purpose of this variable LOCAL_ADDRESS ? never assigned a value
Sorry, this is my oversight, I have completed the change, please review it
|
@gabrywu , could you review this PR ? |
|
good job |
|
Kudos, SonarCloud Quality Gate passed!
|
Tips
Brief change log
In the case of multiple network cards, a valid host is returned
Verify this pull request
This pull request is already covered by existing tests, such as (please describe tests).
This change added tests and can be verified as follows:
(example:)