forked from netty/netty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regulation of the InternetProtocolFamily usage
Motivation: 1. The use of InternetProtocolFamily is not consistent: the DnsNameResolverContext and DnsNameResolver contains switches instead of appropriate methods usage. 2. The InternetProtocolFamily class contains redundant switches in the constructor. Modifications: 1. Replacing switches to the use of an appropriate methods. 2. Simplifying the InternetProtocolFamily constructor. Result: Code is cleaner and simpler.
- Loading branch information
1 parent
0692bf1
commit 970d310
Showing
3 changed files
with
19 additions
and
54 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
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
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