netty5/codec-dns/src/test/java/io/netty/handler/codec/dns
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
..
DnsClassTest.java 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
DnsQueryTest.java 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
DnsResponseTest.java Raise a meaningful exception instead of NPE 2014-07-21 16:51:38 -07:00
DnsTypeTest.java 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
package-info.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00