netty5/codec-dns/src
田欧 4c64c98f34 use checkPositive/checkPositiveOrZero (#8835)
Motivation:

We can replace some "hand-rolled" integer checks with our own static utility method to simplify the code.

Modifications:

Use methods provided by `ObjectUtil`.

Result:

Cleaner code and less duplication
2019-02-04 16:01:49 +01:00
..
main/java/io/netty/handler/codec/dns use checkPositive/checkPositiveOrZero (#8835) 2019-02-04 16:01:49 +01:00
test/java/io/netty/handler/codec/dns EDNS Client Subnet is not encoded correctly when source prefix length is not a multiple of 8. 2017-12-01 08:14:13 +01:00