970d310ec9
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. |
||
---|---|---|
.. | ||
io/netty/resolver/dns |