netty5/transport/src/main/java/io/netty/channel/socket
田欧 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
..
nio Workaround JDK bug that will cause an AssertionError when calling ServerSocketChannel.config().getOptions(). (#8183) 2018-08-09 13:11:08 +02:00
oio Fix minor spelling issues in javadocs (#8701) 2019-01-14 07:24:34 +01:00
ChannelInputShutdownEvent.java Fix most inspector warnings 2014-07-02 19:55:07 +09:00
ChannelInputShutdownReadComplete.java EpollRecvByteAllocatorHandle doesn't inform delegate of more data 2017-02-13 17:42:24 -08:00
ChannelOutputShutdownEvent.java Shutting down the outbound side of the channel should not accept future writes 2017-08-04 10:59:57 -07:00
ChannelOutputShutdownException.java Add missed 'serialVersionUID' field for Serializable classes 2017-10-21 14:41:18 +02:00
DatagramChannel.java Fix DatagramChannel javadoc 2015-07-12 20:19:59 +02:00
DatagramChannelConfig.java [#3806] Setting WRITE_BUFFER_LOW_WATER_MARK before WRITE_BUFFER_HIGH_WATER_MARK results in an internal Exception 2016-03-31 13:44:44 +02:00
DatagramPacket.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
DefaultDatagramChannelConfig.java Correctly support SO_TIMEOUT for OioDatagramChannel 2017-08-08 09:08:33 +02:00
DefaultServerSocketChannelConfig.java use checkPositive/checkPositiveOrZero (#8803) 2019-01-31 09:07:14 +01:00
DefaultSocketChannelConfig.java Remove @Deprecated for primitive WriteWaterMark getters and setters 2016-09-05 10:26:05 +02:00
DuplexChannel.java DuplexChannel to support shutdownInput 2016-05-18 09:11:49 +02:00
InternetProtocolFamily.java Regulation of the InternetProtocolFamily usage 2017-04-20 05:22:24 +02:00
package-info.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00
ServerSocketChannel.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00
ServerSocketChannelConfig.java Remove @Deprecated for primitive WriteWaterMark getters and setters 2016-09-05 10:26:05 +02:00
SocketChannel.java Enable shutdownOutput for EpollDomainSocketChannel 2016-02-18 18:05:51 -08:00
SocketChannelConfig.java [#3806] Setting WRITE_BUFFER_LOW_WATER_MARK before WRITE_BUFFER_HIGH_WATER_MARK results in an internal Exception 2016-03-31 13:44:44 +02:00