netty5/codec-memcache/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/memcache use checkPositive/checkPositiveOrZero (#8835) 2019-02-04 15:55:07 +01:00
test/java/io/netty/handler/codec/memcache/binary Fix buffer leaks in tests 2016-12-03 20:11:25 +01:00