netty5/codec-stomp/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/stomp use checkPositive/checkPositiveOrZero (#8835) 2019-02-04 16:01:49 +01:00
test/java/io/netty/handler/codec/stomp Fix StompFrame.copy() does not copy headers 2018-01-26 08:30:12 +01:00