netty5/testsuite-http2/src/main/java/io/netty/testsuite/http2
田欧 a33200ca38 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:07:14 +01:00
..
HelloWorldHttp1Handler.java Add h2spec test suite module to check if netty http2 implementation conforms with the specification 2017-12-16 13:18:19 +01:00
HelloWorldHttp2Handler.java Use long for http2 ping payload. 2018-02-08 10:23:34 +01:00
HelloWorldHttp2HandlerBuilder.java Add h2spec test suite module to check if netty http2 implementation conforms with the specification 2017-12-16 13:18:19 +01:00
Http2Server.java Add h2spec test suite module to check if netty http2 implementation conforms with the specification 2017-12-16 13:18:19 +01:00
Http2ServerInitializer.java use checkPositive/checkPositiveOrZero (#8803) 2019-01-31 09:07:14 +01:00
package-info.java Add h2spec test suite module to check if netty http2 implementation conforms with the specification 2017-12-16 13:18:19 +01:00