netty5/codec-dns/src
Tim Boudreau 9734170b7d Use value types for class and type in DNS entries to make them immune to parameter order bugs
Motivation:

DNS class and type were represented as integers rather than an enum or a
similar dedicated value type.  This can be a potential source of a
parameter order bug which might be difficult to track down.

Modifications:

Add DnsClass and DnsType to replace integer parameters

Result:

Type safety and less error-proneness
2014-07-23 14:40:52 -07:00
..
main/java/io/netty/handler/codec/dns Use value types for class and type in DNS entries to make them immune to parameter order bugs 2014-07-23 14:40:52 -07:00
test/java/io/netty/handler/codec/dns Use value types for class and type in DNS entries to make them immune to parameter order bugs 2014-07-23 14:40:52 -07:00