netty5/codec-dns/src
田欧 db79983874 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 15:55:07 +01:00
..
main/java/io/netty/handler/codec/dns use checkPositive/checkPositiveOrZero (#8835) 2019-02-04 15:55:07 +01:00
test/java/io/netty/handler/codec/dns Java 8 migration. Remove ThreadLocalProvider and inline java.util.concurrent.ThreadLocalRandom.current() where necessary. (#8762) 2019-01-22 20:14:28 +01:00