diff --git a/transport-udt/src/main/java/io/netty/channel/udt/DefaultUdtChannelConfig.java b/transport-udt/src/main/java/io/netty/channel/udt/DefaultUdtChannelConfig.java index d488713a79..06e69c3e2d 100644 --- a/transport-udt/src/main/java/io/netty/channel/udt/DefaultUdtChannelConfig.java +++ b/transport-udt/src/main/java/io/netty/channel/udt/DefaultUdtChannelConfig.java @@ -38,11 +38,11 @@ public class DefaultUdtChannelConfig extends DefaultChannelConfig implements private static final int K = 1024; private static final int M = K * K; - private volatile int protocolReceiveBuferSize = 10 * M; - private volatile int protocolSendBuferSize = 10 * M; + private volatile int protocolReceiveBufferSize = 10 * M; + private volatile int protocolSendBufferSize = 10 * M; private volatile int systemReceiveBufferSize = M; - private volatile int systemSendBuferSize = M; + private volatile int systemSendBufferSize = M; private volatile int allocatorReceiveBufferSize = 128 * K; private volatile int allocatorSendBufferSize = 128 * K; @@ -81,7 +81,7 @@ public class DefaultUdtChannelConfig extends DefaultChannelConfig implements @Override public int getProtocolReceiveBufferSize() { - return protocolReceiveBuferSize; + return protocolReceiveBufferSize; } @SuppressWarnings("unchecked") @@ -143,8 +143,8 @@ public class DefaultUdtChannelConfig extends DefaultChannelConfig implements } @Override - public UdtChannelConfig setProtocolReceiveBufferSize(final int protocolReceiveBuferSize) { - this.protocolReceiveBuferSize = protocolReceiveBuferSize; + public UdtChannelConfig setProtocolReceiveBufferSize(final int protocolReceiveBufferSize) { + this.protocolReceiveBufferSize = protocolReceiveBufferSize; return this; } @@ -211,26 +211,26 @@ public class DefaultUdtChannelConfig extends DefaultChannelConfig implements @Override public int getProtocolSendBufferSize() { - return protocolSendBuferSize; + return protocolSendBufferSize; } @Override public UdtChannelConfig setProtocolSendBufferSize( - final int protocolSendBuferSize) { - this.protocolSendBuferSize = protocolSendBuferSize; + final int protocolSendBufferSize) { + this.protocolSendBufferSize = protocolSendBufferSize; return this; } @Override public UdtChannelConfig setSystemReceiveBufferSize( - final int systemSendBuferSize) { - this.systemSendBuferSize = systemSendBuferSize; + final int systemSendBufferSize) { + this.systemSendBufferSize = systemSendBufferSize; return this; } @Override public int getSystemSendBufferSize() { - return systemSendBuferSize; + return systemSendBufferSize; } @Override diff --git a/transport-udt/src/main/java/io/netty/channel/udt/DefaultUdtServerChannelConfig.java b/transport-udt/src/main/java/io/netty/channel/udt/DefaultUdtServerChannelConfig.java index b8f65a0cb8..9f6c07cc97 100644 --- a/transport-udt/src/main/java/io/netty/channel/udt/DefaultUdtServerChannelConfig.java +++ b/transport-udt/src/main/java/io/netty/channel/udt/DefaultUdtServerChannelConfig.java @@ -85,15 +85,15 @@ public class DefaultUdtServerChannelConfig extends DefaultUdtChannelConfig @Override public UdtServerChannelConfig setProtocolReceiveBufferSize( - final int protocolReceiveBuferSize) { - super.setProtocolReceiveBufferSize(protocolReceiveBuferSize); + final int protocolReceiveBufferSize) { + super.setProtocolReceiveBufferSize(protocolReceiveBufferSize); return this; } @Override public UdtServerChannelConfig setProtocolSendBufferSize( - final int protocolSendBuferSize) { - super.setProtocolSendBufferSize(protocolSendBuferSize); + final int protocolSendBufferSize) { + super.setProtocolSendBufferSize(protocolSendBufferSize); return this; } @@ -124,8 +124,8 @@ public class DefaultUdtServerChannelConfig extends DefaultUdtChannelConfig @Override public UdtServerChannelConfig setSystemReceiveBufferSize( - final int systemSendBuferSize) { - super.setSystemReceiveBufferSize(systemSendBuferSize); + final int systemSendBufferSize) { + super.setSystemReceiveBufferSize(systemSendBufferSize); return this; }