Code polish

This commit is contained in:
nathan 2017-10-26 21:11:15 +02:00
parent 124ef3d42c
commit 8be291608d
2 changed files with 2 additions and 5 deletions

View File

@ -101,8 +101,6 @@ class Server<C extends Connection> extends EndPointServer<C> {
// you have to make sure to use this.serialization
super(options);
Logger logger2 = logger;
tcpPort = options.tcpPort;
udpPort = options.udpPort;
@ -227,7 +225,6 @@ class Server<C extends Connection> extends EndPointServer<C> {
if (udpBootstrap != null) {
if (OS.isAndroid()) {
// android ONLY supports OIO (not NIO)
udpBootstrap.channel(OioDatagramChannel.class);

View File

@ -84,9 +84,9 @@ class EndPoint<C extends Connection> {
* The HIGH and LOW watermark points for connections
*/
@Property
protected static final int WRITE_BUFF_HIGH = 32 * 1024;
public static final int WRITE_BUFF_HIGH = 32 * 1024;
@Property
protected static final int WRITE_BUFF_LOW = 8 * 1024;
public static final int WRITE_BUFF_LOW = 8 * 1024;
public static final String THREADGROUP_NAME = "(Netty)";