Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CORE] Make network interface iteration order consistent
Today the iteration order of the interfaces might change across JVMs this commit cleans up the NetworkUtils class and attempts to ensure consistent iteration order across JVMs.
- Loading branch information
Showing
1 changed file
with
42 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FYI you could have used
Collections.list(intfs)
instead to avoid dealing with this crappy Enumeration interface :)