netty5/testsuite-http2/src/main/java/io/netty/testsuite/http2
田欧 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
..
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 Decouple EventLoop details from the IO handling for each transport to… (#8680) 2019-01-23 08:32:05 +01:00
Http2ServerInitializer.java use checkPositive/checkPositiveOrZero (#8803) 2019-01-31 09:06:59 +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