netty5/codec-stomp/src/main/java/io/netty/handler/codec/stomp
田欧 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
..
DefaultLastStompContentSubframe.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
DefaultStompContentSubframe.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
DefaultStompFrame.java Fix StompFrame.copy() does not copy headers 2018-01-26 08:30:12 +01:00
DefaultStompHeaders.java Fix StompFrame.copy() does not copy headers 2018-01-26 08:30:12 +01:00
DefaultStompHeadersSubframe.java Fix StompFrame.copy() does not copy headers 2018-01-26 08:30:12 +01:00
LastStompContentSubframe.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
package-info.java Overall refactoring of the STOMP codec 2014-06-04 17:09:42 +09:00
StompCommand.java Overall refactoring of the STOMP codec 2014-06-04 17:09:42 +09:00
StompConstants.java Overall refactoring of the STOMP codec 2014-06-04 17:09:42 +09:00
StompContentSubframe.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
StompFrame.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
StompHeaders.java Immediate caching the strings wrapped to AsciiString 2017-08-15 06:22:14 +02:00
StompHeadersSubframe.java Overall refactoring of the STOMP codec 2014-06-04 17:09:42 +09:00
StompSubframe.java Introduce MessageAggregator and DecoderResultProvider 2014-06-05 16:51:14 +09:00
StompSubframeAggregator.java HttpObjectAggregator doesn't check content-length header 2015-08-17 09:26:50 -07:00
StompSubframeDecoder.java use checkPositive/checkPositiveOrZero (#8835) 2019-02-04 16:01:49 +01:00
StompSubframeEncoder.java Apply appropriate methods for writing CharSequence into ByteBuf 2017-06-27 07:58:39 +02:00