netty5/buffer/src
田欧 d7648f1d93 use checkPositive/checkPositiveOrZero (#8803)
Motivation:

We have a utility method to check for > 0 and >0 arguments. We should use it.

Modification:

use checkPositive/checkPositiveOrZero instead of if statement.

Result:

Re-use utility method.
2019-01-31 09:06:59 +01:00
..
main/java/io/netty/buffer use checkPositive/checkPositiveOrZero (#8803) 2019-01-31 09:06:59 +01:00
test/java/io/netty/buffer migrate java8: use lambda and method reference (#8781) 2019-01-29 14:06:05 +01:00