netty5/codec-dns/src/main/java/io/netty/handler/codec
田欧 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
..
dns use checkPositive/checkPositiveOrZero (#8835) 2019-02-04 16:01:49 +01:00